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

Disassembly:
push 0xffffffffffffffff
push 0x4932ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call fcn.0042a410
or esi, 0xffffffff
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
lea ecx, [esp + 0x64]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x20], ebx
call fcn.00409fd0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
lea ecx, [esp + 0x44]
call fcn.00409fd0
mov al, byte [esp + 0x33]
mov dword [esp + 0x38], 0x497a78
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 0xcc]
mov byte [esp + 0xc8], 2
cmp eax, ebx
mov dword [esp + 0x20], ebx
jle 0x417588
mov ebp, dword [esp + 0xd4]
add edi, 0xa4
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, edi
call fcn.0042b380
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
cmp eax, dword [ecx + 0xa8]
je 0x4171ea
lea esi, [eax + 0x10]
lea ecx, [esp + 0x64]
lea edx, [esi + 8]
push edx
call fcn.00415f00
mov eax, dword [esi + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x60], ecx
mov eax, dword [esi]
mov dword [esp + 0x5c], eax
mov edx, dword [esi + 0x14]
mov dword [esp + 0x70], edx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x74], ecx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x78], edx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp]
cmp eax, ecx
je 0x41720a
lea edx, [esp + 0x24]
push ebx
push edx
lea ecx, [esp + 0x3c]
call fcn.0042a500
lea eax, [esp + 0x20]
lea ecx, [esp + 0x8c]
push eax
push ecx
mov ecx, edi
call fcn.0042a4e0
mov edx, eax
mov eax, dword [esp + 0x34]
cmp eax, dword [edx]
setne cl
test cl, cl
jne 0x417171
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
inc eax
mov edx, dword [ecx + 0xcc]
mov dword [esp + 0x20], eax
cmp eax, edx
jl 0x41714e
jmp 0x417588
mov eax, dword [ebp + 0x144]
mov dword [esp + 0x24], ebx
cmp eax, ebx
jle 0x41754e
mov ebx, dword [esp + 0xd8]
xor esi, esi
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x417330
mov eax, dword [ebp + 0x8c]
lea edx, [esp + 0x10]
add esi, eax
cmp edx, esi
je 0x4173d2
mov ecx, esi
call fcn.00411580
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00411580
cmp edi, eax
ja 0x41729c
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.0042d750
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0044b2c0
mov ecx, esi
call fcn.00411580
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x14]
lea ecx, [eax + edx*4]
mov dword [esp + 0x18], ecx
jmp 0x4173d2
mov ecx, esi
call fcn.00411580
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.0042b9a0
cmp edi, eax
ja 0x417303
mov edi, dword [esi + 4]
lea ecx, [esp + 0x10]
call fcn.00411580
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*8]
mov eax, dword [esi + 4]
push ecx
lea edi, [edi + edx*4]
push edi
push eax
call fcn.0042d750
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x10]
push edx
push eax
push edi
call fcn.004115b0
mov ecx, esi
call fcn.00411580
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*8]
lea edx, [ecx + eax*4]
mov dword [esp + 0x18], edx
jmp 0x4173d2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0044b2c0
mov edx, dword [esp + 0x14]
push edx
call fcn.00485136
add esp, 4
mov ecx, esi
call fcn.00411580
test eax, eax
jge 0x4173a5
jmp 0x4173a3
mov eax, dword [ebp + 0x9c]
lea ecx, [esp + 0x10]
add esi, eax
cmp ecx, esi
je 0x4173d2
mov ecx, esi
call fcn.00411580
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00411580
cmp edi, eax
jbe 0x41725e
mov ecx, esi
call fcn.00411580
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.0042b9a0
cmp edi, eax
jbe 0x4172b2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0044b2c0
mov edx, dword [esp + 0x14]
push edx
call fcn.00485136
add esp, 4
mov ecx, esi
call fcn.00411580
test eax, eax
jge 0x4173a5
xor eax, eax
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.0048510d
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.004115b0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x6c]
mov esi, 1
test eax, eax
je 0x4173e7
cmp dword [esp + 0xdc], esi
jne 0x4173f6
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x4173f6
mov eax, dword [ebp + 0xbc]
jmp 0x4173fc
mov eax, dword [ebp + 0x134]
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp + 0x84]
test ecx, ecx
mov eax, dword [eax + edi*4]
jne 0x41741e
cmp dword [ebp + 0x148], esi
jne 0x41741e
mov eax, dword [ebp + 0x134]
mov eax, dword [eax + edi*4]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*8]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x3c]
call dword [edx]
mov edx, dword [esp + 0x40]
cmp edx, 0xffffffff
je 0x417521
cmp edx, 0xffffd8f1
je 0x417521
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x41746b
cmp dword [esp + 0xdc], esi
je 0x41746b
mov eax, dword [ebp + 0x124]
mov ecx, dword [eax + edi*8]
mov eax, dword [eax + edi*8 + 4]
jmp 0x417473
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0xd0]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00408180
mov eax, dword [esp + 0x40]
push 0
push eax
mov ecx, esi
call fcn.0040b3a0
mov esi, eax
test esi, esi
je 0x417521
test ebx, ebx
je 0x417513
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x44]
lea edi, [esi + 0x20]
mov dword [edi], edx
mov ecx, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x28], eax
mov edx, dword [esp + 0x48]
add ecx, edx
mov dword [esi + 0x2c], ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4174f6
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
cmp eax, edx
je 0x4174f6
lea ecx, [eax + 0x10]
push edi
cmp ecx, edx
mov dword [ebx + 0x1c], ecx
push eax
jne 0x417508
call fcn.0042d790
add esp, 8
mov ecx, ebx
call fcn.0042b840
jmp 0x417510
mov ecx, ebx
call fcn.0042b840
mov eax, dword [ebx + 0x1c]
push edi
push eax
lea edx, [eax + 0x10]
mov dword [ebx + 0x1c], edx
call fcn.0042d790
add esp, 8
inc dword [ebx + 0x2c]
mov ecx, dword [esp + 0x2c]
push esi
call fcn.004148a0
mov edi, dword [esp + 0x24]
mov eax, dword [ebp + 0xdc]
mov esi, dword [esp + 0x28]
add esi, 0x10
mov dword [eax + edi*4], 0xffffffff
mov eax, dword [ebp + 0x144]
inc edi
mov dword [esp + 0x28], esi
cmp edi, eax
mov dword [esp + 0x24], edi
jl 0x417229
xor ebx, ebx
mov eax, dword [ebp + 0xac]
cmp eax, ebx
jne 0x41755c
xor edi, edi
jmp 0x417567
mov edi, dword [ebp + 0xb0]
sub edi, eax
sar edi, 2
xor esi, esi
cmp edi, ebx
jle 0x417588
mov eax, dword [ebp + 0xac]
mov ecx, dword [esp + 0xd0]
mov eax, dword [eax + esi*4]
push eax
call fcn.0040b080
inc esi
cmp esi, edi
jl 0x41756d
lea ecx, [esp + 0x10]
mov byte [esp + 0xc8], 1
call fcn.0044a080
lea ecx, [esp + 0x5c]
call fcn.00414690
lea ecx, [esp + 0x90]
call fcn.00414690
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 0x10