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

Disassembly:
push 0xffffffffffffffff
push 0x480dd9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0047d337
mov ecx, dword [esi + 0x344]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x10], ebp
je 0x41778a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x344], ebp
push 0x1940
call fcn.004785c2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x80], 1
je 0x4177b2
mov ecx, eax
call fcn.0040a830
mov edi, eax
jmp 0x4177b4
xor edi, edi
cmp edi, ebp
mov byte [esp + 0x80], 0
je 0x417d50
mov ecx, dword [esi + 0x3fc]
cmp ecx, ebp
je 0x4177d4
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x400]
cmp ecx, ebp
je 0x4177e4
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x1940
call fcn.004785c2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x80], 2
je 0x41780a
mov ecx, eax
call fcn.0040a830
jmp 0x41780c
xor eax, eax
push 0x1940
mov byte [esp + 0x84], 0
mov dword [esi + 0x3fc], eax
call fcn.004785c2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x80], 3
je 0x417840
mov ecx, eax
call fcn.0040a830
jmp 0x417842
xor eax, eax
mov ecx, dword [esi + 0x3fc]
mov byte [esp + 0x80], 0
cmp ecx, ebp
mov dword [esi + 0x400], eax
je 0x417d1c
cmp eax, ebp
je 0x417d1c
push ebp
push 0x258
push 0x320
mov ecx, edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], 0x320
mov dword [esp + 0x48], 0x258
call fcn.0040aa80
test al, al
jne 0x4178a9
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
jmp 0x417d50
mov ecx, dword [esi + 0x44]
lea eax, [esp + 0x30]
push ebp
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, edi
call fcn.0040af00
mov ecx, dword [esi + 0x3fc]
push ebp
push 0x258
push 0x320
mov bl, 1
call fcn.0040aa80
test al, al
jne 0x4178dd
xor bl, bl
mov ecx, dword [esi + 0x400]
push ebp
push 0x258
push 0x320
call fcn.0040aa80
test al, al
je 0x4178fb
test bl, bl
jne 0x41792c
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [esi + 0x3fc]
cmp ecx, ebp
je 0x417913
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x400]
cmp ecx, ebp
je 0x417d44
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x417d44
mov edx, dword [esi + 0x48]
lea ecx, [esp + 0x30]
push ebp
push ecx
mov ecx, dword [esi + 0x3fc]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0040af00
mov edx, dword [esi + 0x44]
lea ecx, [esp + 0x30]
push ebp
push ecx
mov ecx, dword [esi + 0x400]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0040af00
mov ecx, dword [esi + 0x284]
cmp ecx, ebp
je 0x41799c
lea edx, [esp + 0x30]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esi + 0x3fc]
push eax
push edx
call fcn.00420660
mov edx, dword [esi + 0x400]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esi + 0x284]
push edx
call fcn.00420660
mov eax, dword [esp + 0x94]
mov dword [esi + 0x344], edi
mov ecx, dword [0x4ccd64]
push 1
push eax
mov ecx, dword [ecx + 0x7e8]
call fcn.0043b0f0
test al, al
jne 0x4179dc
mov ecx, dword [esi + 0x344]
cmp ecx, ebp
je 0x4179d1
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x344], ebp
jmp 0x417d50
mov eax, dword [0x4ccd64]
mov ecx, dword [eax + 0x7e8]
call fcn.0043b450
mov ebp, dword [0x4832e0]
sub eax, 0x436
push eax
push 0x40
call ebp
mov edi, eax
test edi, edi
jne 0x417a10
mov ecx, dword [0x4ccd64]
mov ecx, dword [ecx + 0x7e8]
jmp 0x417a80
mov eax, dword [0x4ccd64]
push 0xe
mov ecx, dword [eax + 0x7e8]
call fcn.0043b460
mov edx, dword [0x4ccd64]
lea ecx, [esp + 0x50]
push 0x28
push ecx
mov ecx, dword [edx + 0x7e8]
call fcn.0043b480
mov eax, dword [esi + 0x3ec]
test eax, eax
je 0x417a59
mov ebx, dword [0x4832e8]
push eax
call ebx
mov dword [esi + 0x3ec], 0
jmp 0x417a5f
mov ebx, dword [0x4832e8]
push 0x75300
push 0x40
call ebp
test eax, eax
mov dword [esi + 0x3ec], eax
jne 0x417aa4
push edi
call ebx
mov eax, dword [0x4ccd64]
mov ecx, dword [eax + 0x7e8]
call fcn.0043b3d0
mov ecx, dword [esi + 0x344]
test ecx, ecx
je 0x417a95
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x344], 0
jmp 0x417d50
mov eax, dword [0x4ccd64]
push 0x400
mov ecx, dword [eax + 0x7e8]
call fcn.0043b460
mov ecx, dword [esp + 0x58]
lea ebp, [ecx - 1]
test ebp, ebp
jl 0x417ae3
mov eax, dword [esp + 0x54]
mov edx, dword [0x4ccd64]
push eax
imul eax, ebp
mov ecx, dword [edx + 0x7e8]
add eax, edi
push eax
call fcn.0043b480
dec ebp
jns 0x417ac4
mov eax, dword [0x4ccd64]
mov ecx, dword [eax + 0x7e8]
call fcn.0043b3d0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
push 0x258
push 0x320
mov dword [esp + 0x40], eax
push eax
mov eax, dword [esi + 0x3ec]
lea edx, [esp + 0x3c]
push edx
xor ebp, ebp
mov dword [esp + 0x4c], ecx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.00419250
push edi
call ebx
push ebp
call dword [0x483064]
push eax
lea ecx, [esp + 0x24]
call fcn.0047d3ee
mov ecx, dword [esi + 0x344]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x20]
mov ecx, dword [ecx + 8]
neg eax
sbb eax, eax
push ecx
and eax, edi
push eax
call dword [0x483060]
mov dword [esp + 0x94], eax
call dword [0x48359c]
mov edi, dword [esp + 0x8c]
mov ebx, eax
cmp edi, ebp
jbe 0x417c36
mov ebp, ebx
call dword [0x48359c]
mov ebx, eax
sub eax, ebp
cmp eax, 0xc8
jbe 0x417b95
mov eax, 0xc8
mov ebp, dword [esp + 0x10]
xor edx, edx
add ebp, eax
mov eax, ebp
mov dword [esp + 0x10], ebp
shl eax, 0xa
div edi
add eax, 0xfffffe00
cmp eax, 0xff
mov dword [esi + 0x3e0], eax
jle 0x417bc4
mov dword [esi + 0x3e0], 0xff
mov al, byte [esi + 4]
mov dl, byte [esp + 0x90]
test al, al
mov byte [esi + 0x3e4], dl
mov ecx, esi
jne 0x417be1
call fcn.00417ec0
jmp 0x417be6
call fcn.00417d80
mov ecx, dword [0x4cc9f8]
call fcn.0044cd40
test al, al
jne 0x417c34
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
push 0
push 0
push eax
mov eax, dword [esp + 0x98]
push 0x258
push 0x320
push 0
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [0x48305c]
cmp ebp, edi
jb 0x417b7d
xor ebp, ebp
mov eax, dword [esp + 0x98]
mov byte [esi + 0x39c], 0
cmp eax, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 0x320
mov dword [esp + 0x4c], 0x258
jne 0x417c6d
mov eax, dword [esi + 0x44]
jmp 0x417c78
mov ecx, dword [0x4ccd64]
call fcn.0044c0e0
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x40]
push ebp
push edx
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.0040af00
mov ecx, dword [0x4ccd64]
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.00448090
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0x20]
push ecx
neg eax
sbb eax, eax
and eax, ebx
push eax
call dword [0x483060]
lea ecx, [esp + 0x20]
call fcn.0047d456
mov edx, dword [esi + 0x3ec]
push edx
call dword [0x4832e8]
mov ecx, dword [esi + 0x344]
mov dword [esi + 0x3ec], ebp
cmp ecx, ebp
je 0x417ce8
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x3fc]
mov dword [esi + 0x344], ebp
cmp ecx, ebp
je 0x417cfe
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x400]
cmp ecx, ebp
je 0x417d0e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x400], ebp
mov dword [esi + 0x3fc], ebp
jmp 0x417d50
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [esi + 0x3fc]
cmp ecx, ebp
je 0x417d34
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x400]
cmp ecx, ebp
je 0x417d44
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x3fc], ebp
mov dword [esi + 0x400], ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], 0xffffffff
call fcn.0047d46c
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0x14