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

Disassembly:
sub esp, 0x60
mov eax, dword [0x4f7600]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], edi
mov eax, dword [edi + 0xc8]
add eax, 0xffffffec
cmp eax, 0x5a
ja case.0x41729f.21
movzx eax, byte [eax + 0x417a58]
jmp dword [eax*4 + 0x417a30]
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [edi + 0x48]
mov dword [esp + 0x38], esi
call fcn.004194b0
test esi, esi
je 0x417369
lea eax, [edi + 0x54]
mov dword [esp + 0x38], eax
lea esi, [eax + 4]
nop dword [eax]
mov eax, dword [eax]
cmp eax, dword [esp + 0x50]
jne 0x417302
mov al, byte [esi + 0xc]
cmp al, byte [esp + 0x60]
jne 0x417302
lea ecx, [esp + 0x54]
movzx eax, al
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
mov dword [esp + 0x34], esi
call fcn.00405680
add esp, 8
test al, al
jne 0x417369
mov eax, dword [esp + 0x38]
movzx eax, byte [eax + 0x10]
jmp dword [eax*4 + 0x417ab4]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00412bf0
mov eax, dword [esp + 0x24]
jmp 0x417330
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x41732c
xor eax, eax
mov dword [esp + 0x24], eax
sub eax, dword [edi + 0x68]
lea edx, [edi + 0x48]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jb 0x417364
sub ecx, eax
mov dword [edx + 0x20], 0
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
call fcn.00413100
cmp dword [esp + 0x34], 0
jbe 0x417369
mov eax, dword [esp + 0x38]
jmp 0x4172d0
add dword [edx + 0x20], ecx
jmp 0x41736c
lea edx, [edi + 0x48]
movzx eax, byte [esp + 0x60]
jmp dword [eax*4 + 0x417ac4]
sub esp, 0x18
mov ecx, edx
mov esi, esp
sub esp, 0x14
push esp
call fcn.004194b0
lea eax, [edi + 0x48]
mov ecx, esi
push eax
call fcn.0040e430
sub esp, 0x18
lea eax, [edi + 0x54]
mov esi, esp
sub esp, 0x14
mov ecx, esp
push eax
call fcn.0040e2c0
lea eax, [edi + 0x48]
mov ecx, esi
push eax
call fcn.0040e430
push dword [esp + 0x6c]
call fcn.00404b50
add esp, 0x34
test eax, eax
jne case.0x41729f.21
lea ecx, [edi + 0x48]
mov byte [edi + 0xcd], 1
call fcn.0041faa0
cmp byte [edi + 0xce], 0
jne 0x417519
jmp 0x417a11
push dword [esp + 0x6c]
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.00417150
mov ecx, dword [0x4f7088]
push esi
call fcn.00403fa0
test eax, eax
jne case.0x41729f.21
movzx eax, byte [0x4b3a88]
lea ecx, [edi + 8]
push eax
call fcn.00412600
cmp byte [edi + 0xcc], 0
mov byte [edi + 0xcd], 1
je 0x417a11
mov dword [edi + 0xc8], 0x28
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00489fe1
add esp, 0x60
ret 4
mov eax, dword [esp + 0x6c]
lea esi, [edi + 0x48]
mov dword [esp + 0x3c], esi
lea edx, [esi + 8]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4174ab
mov ecx, dword [edx]
cmp ecx, edx
je 0x4174ab
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov cl, 0x20
call fcn.0048a330
mov edx, dword [esi + 0xc]
sub eax, edx
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jb 0x4174a2
sub ecx, eax
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
lea edx, [esi + 8]
mov dword [esp + 0x38], ecx
lea eax, [eax + 8]
mov dword [edx], eax
jne 0x417467
jmp 0x4174ab
lea eax, [edx + ecx]
mov dword [esi + 0xc], eax
lea edx, [esi + 8]
mov edi, dword [edx]
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x38], ecx
cmp eax, edx
je 0x4174f9
mov cl, 0x20
mov eax, dword [edi]
mov edx, dword [edi + 4]
cmp edi, dword [esi + 8]
jne 0x4174e6
mov esi, dword [esi + 0xc]
call fcn.0048a330
mov ecx, dword [esp + 0x38]
cmp esi, eax
cmovae esi, eax
sub eax, esi
mov esi, dword [esp + 0x3c]
add ecx, eax
add edi, 8
lea edx, [esi + 8]
jmp 0x4174af
call fcn.0048a330
mov ecx, dword [esp + 0x38]
lea edx, [esi + 8]
add ecx, eax
add edi, 8
jmp 0x4174af
mov edi, dword [esp + 0x34]
test ecx, ecx
jne case.0x41729f.21
mov ecx, esi
call fcn.0041faa0
cmp byte [edi + 0xce], 0
je 0x417a11
mov dword [edi + 0xc8], 0x29
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00489fe1
add esp, 0x60
ret 4
mov esi, dword [esp + 0x6c]
lea eax, [edi + 0x48]
xorps xmm0, xmm0
mov dword [esp + 0x50], eax
movups xmmword [esp + 0x54], xmm0
lea ecx, [esp + 0x54]
mov byte [esp + 0x60], 0
call fcn.004181e0
mov byte [esp + 0x54], 0
mov dh, 7
mov byte [esp + 0x54], 0
mov byte [esp + 0x60], dh
test esi, esi
je 0x4175fd
lea ecx, [edi + 0x6c]
mov dword [esp + 0x38], ecx
mov eax, dword [ecx]
cmp eax, dword [esp + 0x50]
jne 0x4175ad
mov dl, byte [ecx + 0x10]
lea eax, [ecx + 4]
cmp dl, dh
jne 0x4175ad
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x54]
mov dword [esp + 0x30], eax
movzx eax, dl
push ecx
push eax
call fcn.004055f0
add esp, 8
test al, al
jne 0x4175fd
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x20]
push eax
call fcn.00412960
mov edx, eax
mov cl, 0x20
mov eax, dword [edx]
mov edx, dword [edx + 4]
call fcn.0048a330
mov ecx, dword [edi + 0x80]
sub eax, ecx
cmp esi, eax
jb 0x4175f4
mov ecx, dword [esp + 0x38]
sub esi, eax
mov dword [edi + 0x80], 0
call fcn.00412fd0
test esi, esi
je 0x4175fd
mov dh, byte [esp + 0x60]
mov ecx, dword [esp + 0x38]
jmp 0x417576
lea eax, [esi + ecx]
mov dword [edi + 0x80], eax
lea ecx, [esp + 0x54]
call fcn.004181e0
sub esp, 0x18
lea eax, [edi + 0x48]
xorps xmm0, xmm0
mov dword [esp + 0x68], eax
movups xmmword [esp + 0x6c], xmm0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x78], 0
mov esi, esp
call fcn.004181e0
mov eax, dword [esp + 0x68]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [esp + 0x6c]
mov byte [esp + 0x6c], 0
push eax
mov byte [esp + 0x70], 0
mov byte [esp + 0x7c], 7
mov byte [ecx + 0xc], 0
call fcn.00417eb0
lea eax, [edi + 0x48]
lea ecx, [esp + 0x6c]
mov dword [esi + 0x14], eax
call fcn.004181e0
mov eax, dword [edi + 0x6c]
lea ecx, [esp + 0x24]
sub esp, 0x18
mov dword [esp + 0x38], eax
lea eax, [edi + 0x70]
mov byte [esp + 0x48], 0
mov esi, esp
push eax
call fcn.00417eb0
mov eax, dword [esp + 0x38]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [esp + 0x3c]
push eax
mov byte [ecx + 0xc], 0
call fcn.00417eb0
lea eax, [edi + 0x48]
lea ecx, [esp + 0x3c]
mov dword [esi + 0x14], eax
call fcn.004181e0
push dword [esp + 0x6c]
call fcn.004046d0
add esp, 0x34
test eax, eax
jne case.0x41729f.21
mov byte [edi + 0xcd], 1
lea ecx, [edi + 0x48]
call fcn.0041faa0
cmp byte [edi + 0xce], 0
mov eax, 0x51
mov ecx, 0x5a
cmove eax, ecx
mov dword [edi + 0xc8], eax
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00489fe1
add esp, 0x60
ret 4
push dword [esp + 0x6c]
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.00417150
mov ecx, dword [0x4f7088]
push esi
call fcn.00403fa0
test eax, eax
jne case.0x41729f.21
movzx eax, byte [0x4b3a88]
lea ecx, [edi + 8]
push eax
call fcn.00412600
cmp byte [edi + 0xcc], 0
mov eax, 0x50
mov ecx, 0x5a
mov byte [edi + 0xcd], 1
cmove eax, ecx
mov dword [edi + 0xc8], eax
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00489fe1
add esp, 0x60
ret 4
push dword [esp + 0x6c]
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.00416df0
sub esp, 0x10
mov ecx, esi
push esp
call fcn.00419510
sub esp, 0x10
mov eax, esp
push 0
push esi
push eax
call fcn.00404580
add esp, 0xc
push dword [esp + 0x5c]
call fcn.00404d40
add esp, 0x24
test eax, eax
jne case.0x41729f.21
mov ecx, esi
jmp 0x4176bf
push dword [esp + 0x6c]
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.00416f30
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.00419580
push 0
lea eax, [esp + 0x10]
push esi
push eax
call fcn.004045f0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x50]
add esp, 0xc
mov dword [esp + 0x40], eax
lea eax, [esp + 0x10]
mov byte [esp + 0x48], 0
xor esi, esi
mov dword [esp + 0x38], esi
push eax
call fcn.00417c80
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
nop
cmp eax, dword [esp + 0x60]
jne 0x41780c
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x44]
call fcn.004126c0
test al, al
jne 0x41787e
mov eax, dword [esp + 0x4c]
add eax, 0x34
lea ecx, [esp + 0x40]
push eax
call fcn.004126c0
lea ecx, [esp + 0x40]
test al, al
je 0x417846
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.00412b30
mov eax, dword [eax + 4]
cmp esi, eax
cmovae esi, eax
sub eax, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], eax
jmp 0x417854
lea eax, [esp + 0x2c]
push eax
call fcn.00412b30
mov eax, dword [esp + 0x30]
add esi, eax
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
movzx eax, byte [esp + 0x4c]
push eax
mov dword [esp + 0x40], esi
call fcn.00405860
mov eax, dword [esp + 0x54]
add esp, 8
jmp 0x4177f0
test esi, esi
jmp 0x417a07
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [edi + 0x48]
call fcn.00419440
test esi, esi
je 0x417919
lea eax, [edi + 0x80]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00412620
test al, al
jne 0x417919
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x2c]
push eax
call fcn.004129e0
mov edx, eax
mov cl, 0x20
mov eax, dword [edx]
mov edx, dword [edx + 4]
call fcn.0048a330
mov ecx, dword [edi + 0x94]
sub eax, ecx
cmp esi, eax
jb 0x417910
sub esi, eax
mov dword [edi + 0x94], 0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
push ecx
movzx eax, byte [eax + 0x10]
push eax
call fcn.00405700
mov eax, dword [esp + 0x40]
add esp, 8
test esi, esi
jne 0x4178a8
jmp 0x417919
lea eax, [esi + ecx]
mov dword [edi + 0x94], eax
lea ecx, [esp + 0x50]
call fcn.00411fe0
sub esp, 0x18
lea ecx, [edi + 0x48]
mov esi, esp
sub esp, 0x14
push esp
call fcn.00419440
lea eax, [edi + 0x48]
mov ecx, esi
push eax
call fcn.0040e3b0
mov eax, dword [edi + 0x80]
sub esp, 0x18
mov esi, esp
sub esp, 0x14
mov ecx, esp
mov dword [ecx], eax
add ecx, 4
lea eax, [edi + 0x84]
push eax
mov byte [ecx + 0xc], 0
call fcn.00417de0
lea eax, [edi + 0x48]
mov ecx, esi
push eax
call fcn.0040e3b0
push dword [esp + 0x6c]
call fcn.004048e0
add esp, 0x34
test eax, eax
jne case.0x41729f.21
mov byte [edi + 0xcd], 1
jmp 0x417a09
push dword [esp + 0x6c]
lea ecx, [edi + 0x48]
call fcn.00417030
sub esp, 0x10
lea eax, [edi + 0x48]
mov esi, esp
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
lea eax, [esp + 0x38]
movq qword [esp + 0x3c], xmm0
mov ecx, esi
push eax
mov byte [esp + 0x40], 0
mov byte [esp + 0x44], 4
call fcn.0040e340
sub esp, 0x10
mov byte [esp + 0x50], 0
lea ecx, [edi + 0x48]
mov dword [esi + 0xc], ecx
lea eax, [ecx + 0x14]
mov esi, esp
lea ecx, [esp + 0x3c]
push eax
call fcn.0040e340
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.0040e340
push dword [esp + 0x5c]
lea eax, [edi + 0x48]
mov byte [esp + 0x48], 0
mov dword [esi + 0xc], eax
call fcn.00404eb0
add esp, 0x24
test eax, eax
jne case.0x41729f.21
lea ecx, [edi + 0x48]
call fcn.0041faa0
mov dword [edi + 0xc8], 0x78
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.00489fe1
add esp, 0x60
ret 4