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

Disassembly:
push 0xffffffffffffffff
push 0x4d6b18
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x41716f
cmp word [eax], bx
jne 0x41719e
lea eax, [esp + 0x80]
push eax
mov ecx, dword [esp + 0x88]
call fcn.00474c20
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.004732d0
xor eax, eax
jmp 0x41775a
push ebx
lea ecx, [esp + 0x84]
call fcn.00473350
cmp ax, 0x7b
jne 0x4171db
mov eax, dword [esp + 0x80]
cmp eax, ebx
jne 0x4171c0
xor eax, eax
jmp 0x4171c5
mov eax, dword [eax - 0xc]
shr eax, 1
add eax, 0xffffffff
push eax
lea ecx, [esp + 0x84]
call fcn.00473350
cmp ax, 0x7d
je 0x417183
mov esi, dword [esp + 0x88]
cmp esi, 0x63
jne 0x4171ed
mov esi, dword [ebp + 0x5c0]
xor edi, edi
push ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x8c], edi
call fcn.00473350
cmp ax, 0x25
lea ecx, [esp + 0x80]
je 0x417216
push ecx
jmp 0x417177
push 1
push 0x25
call fcn.004734b0
cmp eax, ebx
jge 0x417255
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x80]
push edx
call fcn.00474c20
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.004732d0
mov eax, 0xffff
jmp 0x41775a
add eax, 1
push eax
mov dword [esp + 0x70], eax
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x8c]
call fcn.004741d0
push 0xffffffffffffffff
push 0x51cd44
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 1
call fcn.004748c0
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 2
call fcn.00473380
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00476250
add esp, 4
cmp dword [str._ROOT_], 0
je 0x4172ec
mov eax, 0x54fa58
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.00477600
add esp, 8
test eax, eax
je 0x4172dc
add ebx, 1
cmp dword [ebx*8 + 0x54fa58], 0
lea eax, [ebx*8 + 0x54fa58]
jne 0x4172b2
jmp 0x4172ec
mov eax, dword [ebx*8 + 0x54fa5c]
mov dword [esp + 0x88], eax
mov edi, eax
cmp dword [ebx*8 + 0x54fa58], 0
jne 0x41734c
mov dword [esp + 0x88], 0x300a
mov edi, dword [esp + 0x88]
mov eax, edi
sub eax, 0x3008
je 0x417526
sub eax, 2
je case.0x41745c.4102
sub eax, 6
jne case.0x417599.32782
push esi
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
call fcn.00415a10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xc
call fcn.00474c20
lea ecx, [esp + 0x40]
jmp 0x4176b3
cmp edi, 0x1005
jg 0x417422
je 0x4173fd
lea eax, [edi - 1]
cmp eax, 3
ja case.0x417599.32782
jmp dword [eax*4 + 0x417770]
mov ecx, esi
lea esi, [esp + 0x1c]
mov edx, ebp
call fcn.00415500
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 3
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
mov ecx, esi
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.00415550
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 4
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
mov ecx, esi
lea esi, [esp + 0x24]
mov edx, ebp
call fcn.004155a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 5
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
mov ecx, esi
lea esi, [esp + 0x28]
mov edx, ebp
call fcn.004155f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 6
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov ecx, esi
call fcn.00415790
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 7
call fcn.00474c20
lea ecx, [esp + 0x2c]
jmp 0x4176b3
cmp edi, 0x3013
jg 0x417571
je 0x41754c
cmp edi, 0x3007
jg 0x417308
je 0x4174de
lea eax, [edi - 0x1006]
cmp eax, 0xc
ja case.0x417599.32782
movzx edx, byte [eax + 0x417794]
jmp dword [edx*4 + 0x417780]
push esi
lea edi, [esp + 0x34]
mov esi, ebp
call fcn.00415c10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xb
call fcn.00474c20
mov ecx, edi
mov byte [esp + 0x78], 2
call fcn.004732d0
mov edi, dword [esp + 0x88]
jmp 0x4176bd
push esi
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.00415e70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xd
call fcn.00474c20
lea ecx, [esp + 0x34]
jmp 0x4176b3
push esi
lea ecx, [esp + 0x3c]
push ecx
push ebp
call fcn.00415920
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xe
call fcn.00474c20
lea ecx, [esp + 0x38]
jmp 0x4176b3
push esi
lea edx, [esp + 0x40]
push edx
push ebp
call fcn.00415920
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 9
call fcn.00474c20
lea ecx, [esp + 0x3c]
jmp 0x4176b3
push esi
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.00415920
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 8
call fcn.00474c20
lea ecx, [esp + 0x44]
jmp 0x4176b3
lea edx, [esp + 0x48]
push edx
mov ebx, esi
mov ecx, ebp
call fcn.00416cc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xa
call fcn.00474c20
lea ecx, [esp + 0x48]
jmp 0x4176b3
mov ecx, esi
lea eax, [esp + 0x4c]
mov edx, ebp
call fcn.00416990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xf
call fcn.00474c20
lea ecx, [esp + 0x4c]
jmp 0x4176b3
cmp edi, 0xc014
jg 0x41763e
je 0x41761e
lea eax, [edi - 0x800b]
cmp eax, 0xd
ja case.0x417599.32782
movzx eax, byte [eax + 0x4177b8]
jmp dword [eax*4 + 0x4177a4]
add ebp, 0x5fc
push ebp
lea ecx, [esp + 0x18]
call fcn.00474c20
jmp 0x4176bd
mov ecx, esi
lea esi, [esp + 0x50]
mov edx, ebp
call fcn.004168a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0x10
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
mov ecx, esi
lea esi, [esp + 0x54]
mov edx, ebp
call fcn.004168f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0x11
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
mov ecx, esi
lea esi, [esp + 0x58]
mov edx, ebp
call fcn.00416940
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0x12
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
mov ecx, esi
lea esi, [esp + 0x5c]
mov edx, ebp
call fcn.00416a90
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0x13
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
mov eax, edi
sub eax, 0xc015
je 0x417695
sub eax, 1
je 0x417675
sub eax, 1
jne case.0x417599.32782
mov ecx, esi
lea esi, [esp + 0x60]
mov edx, ebp
call fcn.00416b80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0x16
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
mov ecx, esi
lea esi, [esp + 0x64]
mov edx, ebp
call fcn.00416b30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0x15
call fcn.00474c20
mov ecx, esi
jmp 0x4176b3
mov ecx, esi
lea esi, [esp + 0x68]
mov edx, ebp
call fcn.00416ae0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0x14
call fcn.00474c20
mov ecx, esi
mov byte [esp + 0x78], 2
call fcn.004732d0
lea ecx, [esp + 0x14]
call fcn.00413d60
mov ecx, dword [esp + 0x6c]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x88]
call fcn.00401040
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x90]
mov bl, 0x17
push ecx
mov byte [esp + 0x84], bl
call fcn.004740c0
mov ecx, dword [esp + 0x84]
push eax
mov byte [esp + 0x7c], 0x18
call fcn.00474c20
lea ecx, [esp + 0x88]
mov byte [esp + 0x78], bl
call fcn.004732d0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x78], 2
call fcn.004732d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.004732d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0
call fcn.004732d0
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.004732d0
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0xc