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

Disassembly:
xor eax, eax
mov dword [0x4b9648], eax
mov dword [0x4b964c], eax
mov dword [0x4b9650], eax
mov dword [0x4b9654], eax
mov dword [0x4b9658], eax
mov dword [0x4b965c], eax
mov dword [0x4b9660], eax
mov dword [0x4b9664], eax
mov dword [0x4b9668], eax
mov dword [0x4b966c], eax
mov dword [0x4b9670], eax
mov dword [0x4b9674], eax
mov dword [0x4b9678], eax
mov dword [0x4b967c], eax
mov dword [0x4b9680], eax
mov dword [0x4b9684], eax
mov dword [0x4b9688], eax
mov dword [0x4b968c], eax
mov dword [0x4b9690], eax
mov dword [0x4b9694], eax
mov dword [0x4b9698], eax
mov dword [0x4b969c], eax
mov dword [0x4b96a0], eax
mov dword [0x4b96a4], eax
mov dword [0x4b96a8], eax
mov dword [0x4b96ac], eax
call fcn.004174c0
test eax, eax
je 0x43eced
jmp 0x4171a0
jmp 0x46b4f0
sub esp, 0x3b0
push ebx
push ebp
push esi
push edi
call dword [0x49c308]
mov ecx, eax
mov eax, 0xfffffff0
mov esi, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
lea ebx, [esi + 0x60]
xor edi, edi
lea ebp, [esi + 0x19]
test ecx, esi
je 0x41729a
push ebx
lea eax, [esp + 0xb4]
push 0x4a4410
push eax
call dword [0x49c544]
add esp, 0xc
lea ecx, [esp + 0xb0]
push ecx
call dword [0x49c304]
mov ecx, dword [esp + 0x14]
mov dword [esp + edi + 0x20], eax
cmp eax, 5
je 0x4173b3
inc ebx
add edi, 4
add esi, esi
sub ebp, 1
jne 0x417260
xor edi, edi
lea esi, [ebp + 1]
mov dword [esp + 0x18], 0x4be57c
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], 0x1a
mov edi, edi
test ecx, esi
je 0x41738c
cmp dword [edi + 0x4b9648], 8
je 0x41738c
cmp dword [esp + edi + 0x20], 4
je 0x41738c
mov edx, dword [esp + 0x18]
movsx eax, byte [edx]
push eax
lea ecx, [esp + 0xa4]
push 0x4a4408
push ecx
call dword [0x49c544]
add esp, 0xc
push 0
push 0
push 3
push 0
push 0
push 0
lea edx, [esp + 0xb8]
push edx
call dword [0x49c31c]
cmp eax, 0xffffffff
je 0x417388
mov ebp, eax
push ebp
xor eax, eax
mov edi, 0x300
lea ebx, [esp + 0xc4]
call fcn.00417460
add esp, 4
test eax, eax
jne 0x417352
cmp dword [0x4be6d0], eax
je 0x41737d
push ebp
mov eax, 1
call fcn.00417460
add esp, 4
test eax, eax
jbe 0x41737d
lea ecx, [esp + 0xc8]
jmp 0x417360
mov edx, dword [ecx]
cmp edx, 0xc
jne 0x4173c2
mov edx, dword [esp + 0x10]
mov dword [edx + 0x4b9648], 7
add ecx, 0x18
sub eax, 1
jne 0x417360
push ebp
call dword [0x49c30c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, 1
add dword [esp + 0x18], eax
add edi, 4
add esi, esi
sub dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
jne 0x4172c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3b0
ret
mov dword [edi + 0x4b9648], 8
jmp 0x41729a
dec edx
cmp edx, 0xc
ja case.0x4173c8.7
jmp dword [edx*4 + 0x417420]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x4b9648], 6
jmp case.0x4173c8.7
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x4b9648]
cmp edx, 4
jge 0x4173f3
mov edx, 4
mov dword [edi + 0x4b9648], edx
jmp case.0x4173c8.7
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x4b9648]
cmp edx, 3
jge 0x417412
mov edx, 3
mov dword [edi + 0x4b9648], edx
jmp case.0x4173c8.7
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x4b9648]
cmp edx, 5
jge 0x43bd35
mov edx, 5
mov dword [edi + 0x4b9648], edx
jmp case.0x4173c8.7
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x4b9648]
cmp edx, 2
jge 0x43bd54
mov edx, 2
mov dword [edi + 0x4b9648], edx
jmp case.0x4173c8.7
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x4b9648]
cmp edx, 1
jge 0x43bd73
mov edx, 1
mov dword [edi + 0x4b9648], edx
jmp case.0x4173c8.7
mov edx, dword [esp + 0x10]
mov dword [edx + 0x4b9648], 9
jmp case.0x4173c8.7
call fcn.0044be6c
test eax, eax
je 0x417196
cmp dword [0x4be294], 0
je 0x43ed08
jmp fcn.004624f9
jmp fcn.00456f77
push ebp
sub esp, 0x30
mov eax, 0x437a4a
call fcn.00435bf8
sub esp, 0x64
push ebx
push esi
push edi
lea eax, [ebp - 0x70]
push eax
call fcn.00462059
and dword [ebp - 4], 0
mov edx, 0x4b9648
push 0x1a
xor eax, eax
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
xor bl, bl
mov esi, edx
and dword [ebp + 0x20], 0
lea eax, [ebp]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp], 0x100
mov byte [ebp + 0x18], bl
call fcn.0044ba94
cmp byte [ebp + 0x20], 4
jbe 0x46b54c
mov dword [esi], 5
jmp 0x46b552
movzx eax, byte [ebp + 0x20]
mov dword [esi], eax
inc bl
add esi, 4
cmp bl, 2
jb 0x46b523
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x70]
push eax
call fcn.00461fe8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x34
leave
ret