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

Disassembly:
push 0xffffffffffffffff
push 0x493553
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov al, byte [esp + 0x1b]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov edi, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov cl, byte [esp + 0x2b]
mov dword [esp + 0xac], ebp
mov byte [esp + 0x64], cl
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov ebx, dword [esp + 0xb4]
mov byte [esp + 0xac], 1
mov ecx, dword [ebx + 0xe4]
cmp ecx, ebp
jne 0x422339
mov dword [esp + 0x14], ebp
jmp 0x422348
mov eax, dword [ebx + 0xe8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jle 0x42247d
mov eax, dword [ebx + 0xe4]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xe8]
push 1
mov eax, dword [eax + edx*4]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.00452a90
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x5c]
cmp eax, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
je 0x42239f
cmp eax, 0xffffffff
je 0x42239f
mov dword [esi + 0x6c], 1
mov dword [esi + 0x60], eax
jmp 0x4223a9
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x60], 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esi + 0x5c], ebp
push ecx
lea ecx, [esi + 0x24]
call fcn.0042a3a0
push eax
lea ecx, [esp + 0x40]
call fcn.00415f00
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x4c]
push edx
call fcn.00415f00
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], eax
lea eax, [esi + 0x5c]
mov dword [esp + 0x38], ecx
cmp dword [eax], 0xffffffff
jne 0x4223ee
or eax, 0xffffffff
jmp 0x4223f9
push eax
lea ecx, [esi + 0x34]
call fcn.0042a290
mov eax, dword [eax]
mov edx, dword [ebx + 0xf0]
mov ecx, dword [esi]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
mov dword [esi + 0x190], edx
mov esi, dword [esp + 0xc4]
push ecx
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x88]
push edx
push eax
push esi
push ecx
mov ecx, edi
call fcn.00415a50
lea ecx, [esp + 0x98]
mov dword [esp + 0x84], ebp
call fcn.0040cf20
mov edx, dword [esp + 0x10]
push ebp
push edx
mov ecx, esi
call fcn.0040b3a0
mov esi, eax
mov al, byte [ebx + 0xfc]
push esi
mov ecx, edi
mov byte [esi + 0xa5], al
call fcn.004144a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x422358
jmp 0x422481
mov esi, dword [esp + 0x30]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xffffffff
je 0x42258e
mov eax, dword [edi + 0xe8]
push 1
mov esi, dword [eax + ecx*4]
mov ecx, esi
call fcn.00452a90
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x5c]
cmp eax, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
je 0x4224c7
cmp eax, 0xffffffff
je 0x4224c7
mov dword [esi + 0x6c], 1
mov dword [esi + 0x60], eax
jmp 0x4224d1
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x60], 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esi + 0x5c], ebp
push ecx
lea ecx, [esi + 0x24]
call fcn.0042a3a0
push eax
lea ecx, [esp + 0x40]
call fcn.00415f00
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x4c]
push edx
call fcn.00415f00
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], eax
lea eax, [esi + 0x5c]
mov dword [esp + 0x38], ecx
cmp dword [eax], 0xffffffff
jne 0x422516
or eax, 0xffffffff
jmp 0x422521
push eax
lea ecx, [esi + 0x34]
call fcn.0042a290
mov eax, dword [eax]
mov edx, dword [ebx + 0xf0]
mov ecx, dword [esi]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
mov dword [esi + 0x190], edx
mov esi, dword [esp + 0xc4]
push ecx
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x88]
push edx
push eax
push esi
push ecx
mov ecx, edi
call fcn.00415a50
lea ecx, [esp + 0x98]
mov dword [esp + 0x84], ebp
call fcn.0040cf20
mov edx, dword [esp + 0x10]
push ebp
push edx
mov ecx, esi
call fcn.0040b3a0
mov esi, eax
mov al, byte [ebx + 0xfc]
push esi
mov ecx, edi
mov byte [esi + 0xa5], al
call fcn.004144a0
lea eax, [ebx + 0x6c]
push eax
call dword [0x49746c]
mov ecx, dword [esi + 0x30]
mov dword [ebx + 0x7c], ecx
mov edx, dword [esi + 0x34]
mov dword [ebx + 0x80], edx
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x84], eax
mov ecx, dword [esi + 0x24]
mov dword [ebx + 0x70], ecx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x6c], edx
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x74], eax
mov ecx, dword [esi + 0x2c]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0xc8], ebp
mov esi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
cmp eax, esi
mov dword [esp + 0x10], esi
je 0x422957
cmp dword [esp + 0xc0], ebp
je 0x4225f8
mov edx, dword [esi]
cmp dword [edx + 0x9c], 1
jne 0x422945
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0044a580
mov ecx, dword [esi]
lea edx, [esp + 0x3c]
push edx
call fcn.00422a20
mov esi, eax
lea eax, [esp + 0x18]
mov byte [esp + 0xac], 2
cmp eax, esi
je 0x42273a
mov ecx, esi
call fcn.00404220
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.00404220
cmp ebx, eax
ja 0x42267e
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00411950
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0044b2c0
mov ecx, esi
call fcn.00404220
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax*4]
mov dword [esp + 0x20], eax
jmp 0x422733
mov ecx, esi
call fcn.00404220
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.0042a800
cmp ebx, eax
ja 0x4226dc
mov ebx, dword [esi + 4]
lea ecx, [esp + 0x18]
call fcn.00404220
mov ecx, dword [esp + 0x1c]
lea ebx, [ebx + eax*4]
mov eax, dword [esi + 4]
push ecx
push ebx
push eax
call fcn.00411950
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x18]
push edx
push eax
push ebx
call fcn.00401c10
mov ecx, esi
call fcn.00404220
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + eax*4]
mov dword [esp + 0x20], edx
jmp 0x422733
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0044b2c0
mov edx, dword [esp + 0x1c]
push edx
call fcn.00485136
add esp, 4
mov ecx, esi
call fcn.00404220
cmp eax, ebp
jge 0x422709
xor eax, eax
shl eax, 2
push eax
call fcn.0048510d
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x24]
call fcn.00401c10
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 1
call fcn.0044b2c0
mov eax, dword [esp + 0x40]
push eax
call fcn.00485136
mov esi, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x40], ebp
push ecx
mov ecx, dword [esi]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.00422bd0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 3
call fcn.0040cc20
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], 1
call fcn.0044b2c0
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00485136
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
jne 0x4227d2
mov dword [esp + 0x14], ebp
jmp 0x4227df
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov eax, dword [edi + 0xe8]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0xf0]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esi + 0x190], edx
jle 0x422933
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + ebp*4]
mov edx, dword [ecx + ebp*4]
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call fcn.00452a90
mov ebx, eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, esi
call fcn.004229a0
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x5c]
lea eax, [esi + 0x5c]
cmp ecx, 0xffffffff
jne 0x422854
mov dword [esp + 0x2c], 0xffffffff
jmp 0x422863
push eax
lea ecx, [esi + 0x34]
call fcn.0042a290
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x84], 1
jne 0x422898
mov edx, dword [esp + 0xb8]
push 0
push 0
push esi
push edx
mov ecx, edi
call fcn.00417030
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xb8]
push eax
push esi
push ecx
mov ecx, edi
call fcn.004220f0
mov edx, dword [esi]
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push edx
mov edx, dword [esp + 0xc8]
lea ecx, [esp + 0x44]
push eax
push ecx
push ebx
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, edi
call fcn.00415a50
lea ecx, [esp + 0x74]
call fcn.00414690
mov ecx, dword [esp + 0xb8]
push 0
push ebx
call fcn.0040b3a0
mov ebx, eax
mov ecx, edi
push ebx
call fcn.004144a0
mov ecx, dword [esp + 0x10]
mov eax, 1
mov dword [esi + 0x70], eax
add ebx, 0x20
mov edx, dword [ecx]
mov dword [edx + 0x98], eax
mov eax, dword [edi + 0xa0]
mov ecx, dword [edi + 0x9c]
mov edx, dword [esp + 0xb4]
push eax
push ecx
lea ecx, [edx + 0x6c]
push ebx
push ecx
call fcn.0041ab60
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jl 0x422805
mov ebx, dword [esp + 0xb4]
xor ebp, ebp
cmp eax, ebp
jne 0x422941
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [ecx + 0x98], ebp
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x28]
add esi, 4
cmp eax, esi
mov dword [esp + 0x10], esi
jne 0x4225e0
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 0
call fcn.0044a080
lea ecx, [esp + 0x18]
mov dword [esp + 0xac], 0xffffffff
call fcn.0044a080
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 0x14