Function at 0x422300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a92c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [esp + 0x28], ecx
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.004a6c5a
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], ebx
call fcn.004a6c5a
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 1
call fcn.004a6c5a
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 2
call fcn.004a6c5a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 3
call fcn.004a6c5a
lea ecx, [esp + 8]
mov byte [esp + 0x64], 4
call fcn.004a6c5a
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 5
call fcn.004a6c5a
push 0x100000
mov byte [esp + 0x68], 6
call dword [0x4b2658]
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x42262e
push 0x4d16f8
lea eax, [esp + 0x18]
push 0x4cb1f8
push eax
call fcn.004a6dda
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00440200
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x48]
push edx
push 0x20019
mov byte [esp + 0x6c], 7
call fcn.004402a0
push eax
lea ecx, [esp + 0x54]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x422616
push ebp
mov ebp, dword [esp + 0x78]
push edi
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push ebx
push ebx
push 1
push ebx
push 0x100000
push esi
push 1
push eax
push ecx
push 0x21
call fcn.004301e0
add esp, 0x28
cmp al, 1
jne 0x422609
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x422434
cmp eax, 2
jb 0x422600
cmp dword [esi + 8], 0xffffffff
je 0x422600
cmp eax, ebx
je 0x422472
shr eax, 1
lea edx, [esi + 0x14]
mov di, word [esi + eax*2 + 0x14]
lea eax, [esi + eax*2 + 0x14]
push edx
push 0x4cb1f8
mov word [eax], bx
lea eax, [esp + 0x20]
push eax
call fcn.004a6dda
mov ecx, dword [esi + 0x10]
add esp, 0xc
shr ecx, 1
mov word [esi + ecx*2 + 0x14], di
jmp 0x42247b
lea ecx, [esp + 0x18]
call fcn.004a6e82
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add edx, esi
mov ecx, esi
mov word [edx + eax], bx
mov edi, dword [esi + 8]
add ecx, edi
lea edx, [esp + 0x24]
push ecx
push 0x4cb1f8
push edx
call fcn.004a6dda
mov eax, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x28]
push eax
push 0x4d16a4
push 0x4d1678
push ecx
call fcn.004a6dda
add esp, 0x10
lea edx, [esp + 0x28]
lea ecx, [esp + 0x3c]
push edx
call fcn.00440200
lea eax, [esp + 0x30]
lea ecx, [esp + 0x3c]
push eax
push 0x20019
mov byte [esp + 0x74], 8
call fcn.004402a0
push eax
lea ecx, [esp + 0x48]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x4225f2
mov ecx, dword [esp + 0x30]
push 0x100000
push esi
push 0x545dc4
push 1
push ecx
call fcn.00430460
add esp, 0x14
cmp al, 1
jne 0x4225e7
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x4225e7
mov edx, dword [esi + 0xc]
add edx, eax
mov byte [edx + esi], bl
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add eax, esi
mov edx, esi
mov byte [eax + ecx + 1], bl
mov ecx, dword [esi + 8]
add edx, ecx
lea eax, [esp + 0x10]
push edx
push 0x4cb1f8
push eax
call fcn.004a6dda
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.0041d430
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0040b780
mov eax, dword [esp + 0x80]
add esp, 8
cmp eax, 1
jne 0x422597
lea ecx, [esp + 0x14]
push ecx
call fcn.0040c0a0
add esp, 4
test eax, eax
jne 0x4225e7
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push edx
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
push 0x4cd9cc
lea eax, [esp + 0x44]
push 0x4d0fbc
push eax
call fcn.004a6dda
mov ecx, dword [ebp + 0x20]
add esp, 0x20
push ebx
push ebx
push 0x1004
push ecx
call dword [0x4b279c]
mov edx, dword [esp + 0x2c]
push ebx
push ebx
push ebx
push ebx
push edx
push eax
push 1
mov ecx, ebp
call fcn.004a6dc8
mov eax, dword [esp + 0x30]
push eax
call dword [0x4b2034]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 7
call fcn.00440270
inc dword [esp + 0x20]
jmp 0x4223fb
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x4b2034]
pop edi
pop ebp
push esi
call dword [0x4b2654]
add esp, 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 6
call fcn.00440270
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 5
call fcn.004a6c6c
lea ecx, [esp + 8]
mov byte [esp + 0x64], 4
call fcn.004a6c6c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 3
call fcn.004a6c6c
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 2
call fcn.004a6c6c
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 1
call fcn.004a6c6c
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call fcn.004a6c6c
lea ecx, [esp + 0x24]
mov dword [esp + 0x64], 0xffffffff
call fcn.004a6c6c
mov ecx, dword [esp + 0x5c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc