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

Disassembly:
push 0xffffffffffffffff
push 0x493583
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov al, byte [esp + 0x13]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov cl, byte [esp + 0x23]
mov dword [esp + 0xb0], ebx
mov byte [esp + 0x40], cl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0xb8]
mov dword [edi + 0xf4], ebx
mov byte [esp + 0xb0], 1
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0xc8], ebx
cmp eax, 0xffffffff
je 0x422f38
mov ecx, dword [edi + 0xe8]
push 1
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.00452a90
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x5c]
cmp eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x422e3b
cmp eax, 0xffffffff
je 0x422e3b
mov dword [esi + 0x6c], 1
mov dword [esi + 0x60], eax
jmp 0x422e45
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x60], 0xffffffff
lea edx, [esp + 0x34]
lea ecx, [esi + 0x24]
push edx
mov dword [esi + 0x5c], ebx
call fcn.0042a3a0
push eax
lea ecx, [esp + 0x3c]
call fcn.00415f00
lea eax, [esp + 0x38]
lea ecx, [esp + 0x50]
push eax
call fcn.00415f00
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
lea eax, [esi + 0x5c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp dword [eax], 0xffffffff
jne 0x422e8f
mov dword [esp + 0x14], 0xffffffff
jmp 0x422e9e
push eax
lea ecx, [esi + 0x34]
call fcn.0042a290
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
push ecx
push esi
push edx
mov ecx, edi
call fcn.004220f0
mov eax, dword [ebp + 0xf0]
mov dword [esi + 0x190], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
push eax
call fcn.00408180
mov ecx, dword [esp + 0x10]
push ebx
push ecx
mov ecx, dword [esp + 0xc4]
call fcn.0040b3a0
mov dl, byte [ebp + 0xfc]
mov ecx, dword [esp + 0x14]
mov byte [eax + 0xa5], dl
mov eax, dword [esi]
push 0xffffffffffffffff
push ebx
push ebx
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xd0]
push edx
push eax
lea edx, [esp + 0x84]
push ecx
push edx
mov ecx, edi
call fcn.00415a50
lea ecx, [esp + 0x8c]
mov dword [esp + 0x78], ebx
call fcn.0040cf20
mov ecx, dword [ebp + 0xe4]
cmp ecx, ebx
jne 0x422f48
mov dword [esp + 0x38], ebx
jmp 0x422f57
mov eax, dword [ebp + 0xe8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], ebx
cmp eax, ebx
jle 0x4230e2
mov ebp, dword [ebp + 0xe4]
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0xe8]
push 1
mov edx, dword [ebp + ecx*4]
mov esi, dword [eax + edx*4]
mov ecx, esi
call fcn.00452a90
mov ebp, eax
mov eax, dword [esi + 0x5c]
cmp eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
je 0x422fad
cmp eax, 0xffffffff
je 0x422fad
mov dword [esi + 0x6c], 1
mov dword [esi + 0x60], eax
jmp 0x422fb7
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x60], 0xffffffff
lea eax, [esp + 0x34]
lea ecx, [esi + 0x24]
push eax
mov dword [esi + 0x5c], ebx
call fcn.0042a3a0
push eax
lea ecx, [esp + 0x54]
call fcn.00415f00
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x64]
call fcn.00415f00
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x5c]
mov dword [esp + 0x18], edx
cmp dword [eax], 0xffffffff
jne 0x423001
mov dword [esp + 0x14], 0xffffffff
jmp 0x423010
push eax
lea ecx, [esi + 0x34]
call fcn.0042a290
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
push edx
push esi
push eax
mov ecx, edi
call fcn.004220f0
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 0xf0]
mov dword [esi + 0x190], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0xc4]
push ebp
call fcn.00408180
mov ecx, dword [esp + 0xbc]
push ebx
push ebp
call fcn.0040b3a0
mov edx, dword [esp + 0xb8]
push 0xffffffffffffffff
push ebx
push ebx
mov cl, byte [edx + 0xfc]
mov byte [eax + 0xa5], cl
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0xcc]
lea ecx, [esp + 0x28]
push eax
push ecx
push ebp
lea eax, [esp + 0x84]
push edx
push eax
mov ecx, edi
call fcn.00415a50
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x78], ebx
cmp eax, ebx
je 0x4230b4
push eax
call fcn.0046a70c
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0xb8]
inc eax
cmp eax, ecx
mov dword [esp + 0x90], 0x40
mov dword [esp + 0x94], ebx
mov dword [esp + 0x10], eax
jl 0x422f67
mov ecx, dword [ebp + 0x34]
cmp ecx, ebx
jne 0x4230ef
mov dword [esp + 0x38], ebx
jmp 0x4230fb
mov eax, dword [ebp + 0x38]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
xor edx, edx
cmp eax, ebx
mov dword [esp + 0x10], edx
jle 0x423249
jmp 0x423113
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x34]
mov ecx, dword [edi + 0xe8]
mov eax, dword [eax + edx*4]
mov esi, dword [ecx + eax*4]
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax + edx*4]
push ecx
mov ecx, esi
call fcn.00452a90
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov ecx, dword [eax + edx*4]
mov eax, dword [esi + 0x5c]
cmp eax, ecx
mov dword [esp + 0x14], ecx
je 0x423162
cmp eax, 0xffffffff
je 0x423162
mov dword [esi + 0x6c], 1
mov dword [esi + 0x60], eax
jmp 0x42316c
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x60], 0xffffffff
lea eax, [esp + 0x14]
mov dword [esi + 0x5c], ecx
push eax
lea ecx, [esi + 0x24]
call fcn.0042a3a0
push eax
lea ecx, [esp + 0x54]
call fcn.00415f00
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x64]
call fcn.00415f00
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x5c]
mov dword [esp + 0x18], edx
cmp dword [eax], 0xffffffff
jne 0x4231b6
mov dword [esp + 0x14], 0xffffffff
jmp 0x4231c5
push eax
lea ecx, [esi + 0x34]
call fcn.0042a290
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
push edx
push esi
push eax
mov ecx, edi
call fcn.004220f0
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0xd0]
push eax
push ecx
lea eax, [esp + 0x84]
push edx
push eax
mov ecx, edi
call fcn.00415a50
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x78], ebx
cmp eax, ebx
je 0x423222
push eax
call fcn.0046a70c
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
inc eax
mov dword [esp + 0x90], 0x40
cmp eax, ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x10], eax
jl 0x42310f
mov esi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
cmp eax, esi
mov dword [esp + 0x10], esi
je 0x423663
cmp dword [esp + 0xd0], ebx
je 0x423273
mov ecx, dword [esi]
cmp dword [ecx + 0x9c], 1
jne 0x423651
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.0044a580
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esi]
call fcn.00422a20
mov esi, eax
lea edx, [esp + 0x24]
mov byte [esp + 0xb0], 2
cmp edx, esi
je 0x4233b6
mov ecx, esi
call fcn.00404220
lea ecx, [esp + 0x24]
mov ebp, eax
call fcn.00404220
cmp ebp, eax
ja 0x4232f9
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00411950
mov ecx, dword [esp + 0x38]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.0044b2c0
mov ecx, esi
call fcn.00404220
mov edx, dword [esp + 0x28]
lea eax, [edx + eax*4]
mov dword [esp + 0x2c], eax
jmp 0x4233af
mov ecx, esi
call fcn.00404220
lea ecx, [esp + 0x24]
mov ebp, eax
call fcn.0042a800
cmp ebp, eax
ja 0x423358
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x24]
call fcn.00404220
mov ecx, dword [esp + 0x28]
lea ebp, [ebp + eax*4]
mov eax, dword [esi + 4]
push ecx
push ebp
push eax
call fcn.00411950
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x24]
push edx
push eax
push ebp
call fcn.00401c10
mov ecx, esi
call fcn.00404220
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax*4]
mov dword [esp + 0x2c], edx
jmp 0x4233af
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0044b2c0
mov edx, dword [esp + 0x28]
push edx
call fcn.00485136
add esp, 4
mov ecx, esi
call fcn.00404220
cmp eax, ebx
jge 0x423385
xor eax, eax
shl eax, 2
push eax
call fcn.0048510d
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.00401c10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0xb8]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8], 1
call fcn.0044b2c0
mov eax, dword [esp + 0x54]
push eax
call fcn.00485136
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x54], ebx
push ecx
mov ecx, dword [edx]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00422bd0
mov esi, eax
lea eax, [esp + 0x40]
mov byte [esp + 0xb0], 3
cmp eax, esi
je 0x423521
mov ecx, esi
call fcn.00404220
lea ecx, [esp + 0x40]
mov ebp, eax
call fcn.00404220
cmp ebp, eax
ja 0x423464
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00411950
mov ecx, dword [esp + 0x54]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.0044b2c0
mov ecx, esi
call fcn.00404220
mov edx, dword [esp + 0x44]
lea eax, [edx + eax*4]
mov dword [esp + 0x48], eax
jmp 0x42351a
mov ecx, esi
call fcn.00404220
lea ecx, [esp + 0x40]
mov ebp, eax
call fcn.0042a800
cmp ebp, eax
ja 0x4234c3
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x40]
call fcn.00404220
mov ecx, dword [esp + 0x44]
lea ebp, [ebp + eax*4]
mov eax, dword [esi + 4]
push ecx
push ebp
push eax
call fcn.00411950
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x40]
push edx
push eax
push ebp
call fcn.00401c10
mov ecx, esi
call fcn.00404220
mov ecx, dword [esp + 0x44]
lea edx, [ecx + eax*4]
mov dword [esp + 0x48], edx
jmp 0x42351a
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.0044b2c0
mov edx, dword [esp + 0x44]
push edx
call fcn.00485136
add esp, 4
mov ecx, esi
call fcn.00404220
cmp eax, ebx
jge 0x4234f0
xor eax, eax
shl eax, 2
push eax
call fcn.0048510d
add esp, 4
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.00401c10
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0xb8]
lea ecx, [esp + 0x98]
mov byte [esp + 0xb0], 1
call fcn.0044a080
lea ecx, [esp + 0x24]
call fcn.00404220
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0xe8]
mov dword [esp + 0x38], eax
mov edx, dword [edx]
mov edx, dword [edx + 4]
mov esi, dword [ecx + edx*4]
mov ecx, dword [ebp + 0xf0]
xor ebp, ebp
cmp eax, ebx
mov dword [esi + 0x190], ecx
jle 0x423638
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov eax, dword [edx + ebp*4]
mov edx, dword [ecx + ebp*4]
push eax
mov ecx, esi
mov dword [esp + 0x18], edx
call fcn.00452a90
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, esi
call fcn.004229a0
push eax
lea ecx, [esp + 0x1c]
call fcn.00415f00
mov ecx, esi
call fcn.00423700
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x4235e3
mov edx, dword [esp + 0xbc]
push ebx
push ebx
push esi
push edx
mov ecx, edi
call fcn.00417030
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
push eax
push esi
push ecx
mov ecx, edi
call fcn.004220f0
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push ebx
push edx
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0xd0]
push ecx
push edx
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, edi
call fcn.00415a50
lea ecx, [esp + 0x68]
call fcn.00414690
mov edx, dword [esp + 0x10]
inc ebp
mov eax, dword [edx]
mov dword [eax + 0x98], 1
mov eax, dword [esp + 0x38]
cmp ebp, eax
jl 0x42356a
cmp eax, ebx
jne 0x423646
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [edx + 0x98], ebx
mov ebp, dword [esp + 0xb8]
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x28]
add esi, 4
cmp eax, esi
mov dword [esp + 0x10], esi
jne 0x42325b
mov ecx, dword [esp + 0xcc]
cmp ecx, 0x270f
je 0x4236bb
mov eax, dword [edi + 0xe8]
mov edx, dword [edi + 0xb2c]
push 1
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0xc8]
mov dword [eax + 0x64], ecx
mov eax, dword [edi + 0xb2c]
mov ecx, dword [esp + 0xcc]
mov dword [edi + 0xf8], eax
mov eax, dword [esp + 0xc0]
push ecx
push edx
push eax
mov ecx, edi
mov dword [edi + 0xf4], 1
call fcn.00418830
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], bl
call fcn.0044a080
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0044a080
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret 0x1c