Function at 0x4160b0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x445cd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x453250]
push ebx
push ebp
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x5c]
mov byte [esp + 0x38], 1
test eax, eax
je 0x4172b3
mov edi, dword [esp + 0x40]
test edi, edi
jl 0x4172b3
cmp edi, dword [ebp + 0x40]
jge 0x4172b3
push 0x44f
lea ecx, [esp + 0x10]
call fcn.0043c49e
lea eax, [ebp + 0x144]
push 0x452318
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0043c16b
lea edx, [esp + 0xc]
mov byte [esp + 0x38], 2
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0043c105
push 0x4527e0
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x44], 3
call fcn.0043c16b
mov edx, dword [esp + 0x44]
mov byte [esp + 0x38], 4
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0043c16b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call fcn.0043c00f
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call fcn.0043bf22
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
call fcn.0043bf22
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.0043bf22
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 1
call fcn.0043bf22
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x4161c7
mov edx, dword [0x456ac4]
push edx
call fcn.0043c00f
mov eax, dword [ebp + 0x5c]
mov ebx, edi
shl ebx, 8
push esi
mov dword [ebx + eax + 0x14], 0xffffffff
mov eax, dword [ebp + 0xdc]
test eax, eax
je 0x4162bc
push 0x8a5
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x4162bc
mov eax, dword [ebp + 0xb4]
xor esi, esi
test eax, eax
jle 0x4162bc
xor edi, edi
mov eax, dword [ebp + 0xdc]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + edi + 0x34]
mov eax, dword [ecx]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x416253
mov eax, dword [ebp + 0xb4]
inc esi
add edi, 0x100
cmp esi, eax
jl 0x416224
jmp 0x4162b8
mov edi, dword [ebp + 0x5c]
mov ecx, 0x40
shl esi, 8
mov eax, esi
mov esi, dword [ebp + 0xdc]
add esi, eax
add edi, ebx
rep movsd dword es:[edi], dword [esi]
push 4
mov dword [esp + 0x30], eax
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x3c], 6
je 0x416295
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0043bf90
jmp 0x416297
xor eax, eax
mov edx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + edx + 0x1c], eax
mov eax, dword [ebp + 0xdc]
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [edx + eax + 0xc]
mov dword [ebx + ecx + 0x14], eax
mov edi, dword [esp + 0x44]
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 7
je 0x4162e1
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, eax
call fcn.0043bf90
jmp 0x4162e3
xor eax, eax
mov edx, dword [ebp + 0x5c]
push 0xa2e
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
mov dword [ebx + edx + 0x34], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebx + eax + 0xc], edi
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push 0x7c
push ecx
push edx
call fcn.00404ab0
add esp, 0x10
test eax, eax
je 0x416325
mov ecx, dword [ebp + 0x5c]
mov dword [ebx + ecx + 0x38], eax
push 0xa96
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push 0x7c
push edx
push eax
call fcn.00404ab0
add esp, 0x10
test eax, eax
je 0x416354
mov ecx, dword [ebp + 0x5c]
mov dword [ebx + ecx + 0x78], eax
push 0xce7
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00404a80
add esp, 8
cmp eax, 0x80000000
jne 0x416392
mov ecx, dword [ebp + 0x5c]
lea eax, [ebx + ecx]
mov ecx, dword [ebx + ecx + 0x14]
test ecx, ecx
jge 0x416399
mov dword [eax + 0x58], 0xffffffff
jmp 0x416399
mov edx, dword [ebp + 0x5c]
mov dword [ebx + edx + 0x58], eax
push 0xb54
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x4163fe
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 8
je 0x4163e0
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x4163e2
xor eax, eax
mov edx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + edx + 0x3c], eax
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebx + eax + 0x3c]
push ecx
call fcn.004013c0
add esp, 4
push 0xb55
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x416463
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 9
je 0x416445
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x416447
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + ecx + 0x40], eax
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebx + edx + 0x40]
push eax
call fcn.004013c0
add esp, 4
push 0xb56
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x4164c8
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0xa
je 0x4164aa
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x4164ac
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + ecx + 0x44], eax
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebx + edx + 0x44]
push eax
call fcn.004013c0
add esp, 4
push 0xb57
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x41652d
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0xb
je 0x41650f
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x416511
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + ecx + 0x48], eax
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebx + edx + 0x48]
push eax
call fcn.004013c0
add esp, 4
push 0xaf0
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
add esp, 8
test eax, eax
je 0x4165a0
push eax
call fcn.00401050
mov ecx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebx + ecx + 0x84], eax
or edi, 0xffffffff
push 0xaf2
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
add esp, 8
test eax, eax
je 0x4165b9
push eax
call fcn.00401050
mov edx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebx + edx + 0x88], eax
jmp 0x4165cb
mov edx, dword [ebp + 0x5c]
mov ecx, dword [ebx + edx + 0x14]
lea eax, [ebx + edx]
test ecx, ecx
jge 0x416564
or edi, 0xffffffff
mov dword [eax + 0x84], edi
jmp 0x416567
mov eax, dword [ebp + 0x5c]
add eax, ebx
mov ecx, dword [eax + 0x14]
test ecx, ecx
jge 0x4165cb
mov dword [eax + 0x88], edi
push 0xaf1
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
add esp, 8
test eax, eax
je 0x416604
push eax
call fcn.00401050
mov ecx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebx + ecx + 0x8c], eax
jmp 0x416618
mov edx, dword [ebp + 0x5c]
mov ecx, dword [ebx + edx + 0x14]
lea eax, [ebx + edx]
test ecx, ecx
jge 0x416618
mov dword [eax + 0x8c], edi
push 0xaf7
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
add esp, 8
test eax, eax
je 0x416651
push eax
call fcn.00401050
mov edx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebx + edx + 0x90], eax
jmp 0x416663
mov eax, dword [ebp + 0x5c]
add eax, ebx
mov ecx, dword [eax + 0x14]
test ecx, ecx
jge 0x416663
mov dword [eax + 0x90], edi
push 0xaf8
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
add esp, 8
test eax, eax
je 0x41669c
push eax
call fcn.00401050
mov ecx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebx + ecx + 0x94], eax
jmp 0x4166b0
mov edx, dword [ebp + 0x5c]
mov ecx, dword [ebx + edx + 0x14]
lea eax, [ebx + edx]
test ecx, ecx
jge 0x4166b0
mov dword [eax + 0x94], edi
push 0xaf3
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
add esp, 8
test eax, eax
je 0x4166e9
push eax
call fcn.00401050
mov edx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebx + edx + 0x98], eax
jmp 0x4166fb
mov eax, dword [ebp + 0x5c]
add eax, ebx
mov ecx, dword [eax + 0x14]
test ecx, ecx
jge 0x4166fb
mov dword [eax + 0x98], edi
push 0xaf4
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
add esp, 8
test eax, eax
je 0x416734
push eax
call fcn.00401050
mov ecx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebx + ecx + 0x9c], eax
jmp 0x416748
mov edx, dword [ebp + 0x5c]
mov ecx, dword [ebx + edx + 0x14]
lea eax, [ebx + edx]
test ecx, ecx
jge 0x416748
mov dword [eax + 0x9c], edi
push 0xaf5
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
add esp, 8
test eax, eax
je 0x416781
push eax
call fcn.00401050
mov edx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebx + edx + 0xa0], eax
jmp 0x416793
mov eax, dword [ebp + 0x5c]
add eax, ebx
mov ecx, dword [eax + 0x14]
test ecx, ecx
jge 0x416793
mov dword [eax + 0xa0], edi
push 0xbb9
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a80
add esp, 8
cmp eax, 0x80000000
jne 0x4167cf
mov eax, dword [ebp + 0x5c]
add eax, ebx
mov ecx, dword [eax + 0x14]
test ecx, ecx
jge 0x4167d6
mov dword [eax + 0x4c], 1
jmp 0x4167d6
mov ecx, dword [ebp + 0x5c]
mov dword [ebx + ecx + 0x4c], eax
push 0xbba
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00404a80
add esp, 8
cmp eax, 0x80000000
jne 0x416814
mov ecx, dword [ebp + 0x5c]
lea eax, [ebx + ecx]
mov ecx, dword [ebx + ecx + 0x14]
test ecx, ecx
jge 0x41681b
mov dword [eax + 0x50], 1
jmp 0x41681b
mov edx, dword [ebp + 0x5c]
mov dword [ebx + edx + 0x50], eax
push 0xbbb
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a80
add esp, 8
cmp eax, 0x80000000
jne 0x416859
mov edx, dword [ebp + 0x5c]
mov ecx, dword [ebx + edx + 0x14]
lea eax, [ebx + edx]
test ecx, ecx
jge 0x416860
mov dword [eax + 0x54], 3
jmp 0x416860
mov ecx, dword [ebp + 0x5c]
mov dword [ebx + ecx + 0x54], eax
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416876
mov edx, dword [0x456ad4]
push edx
call fcn.0043c00f
push 0xa2c
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 1
push 0x2c
push eax
push ecx
call fcn.00404ab0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41696d
mov eax, dword [esi + 8]
cmp eax, 2
jl 0x416929
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
call fcn.0042c6aa
add esp, 4
test eax, eax
jle 0x416929
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push eax
call fcn.0042c6aa
mov ecx, dword [ebp + 0x5c]
push 4
mov dword [ebx + ecx + 0x64], eax
call fcn.0043c46a
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0xc
je 0x4168f6
mov edx, dword [esi + 4]
mov ecx, eax
push edx
call fcn.0043bc97
jmp 0x4168f8
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + ecx + 0x5c], eax
mov eax, dword [esi + 8]
cmp eax, 3
jl 0x41691d
mov edx, dword [esi + 4]
mov eax, dword [edx + 8]
push eax
call fcn.0042c6aa
add esp, 4
jmp 0x416922
mov eax, 0x190
mov ecx, dword [ebp + 0x5c]
mov dword [ebx + ecx + 0x68], eax
cmp dword [esi + 8], 4
jne 0x416964
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0xd
je 0x416956
mov edx, dword [esi + 4]
mov ecx, eax
add edx, 0xc
push edx
call fcn.0043bc97
jmp 0x416958
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + ecx + 0x60], eax
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416982
mov eax, dword [0x456ac4]
push eax
call fcn.0043c00f
push 0x89a
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a80
mov ecx, dword [ebp + 0x5c]
add esp, 8
mov dword [ebx + ecx + 4], eax
mov edx, dword [ebp + 0x5c]
mov ecx, dword [ebx + edx + 4]
lea eax, [ebx + edx + 4]
cmp ecx, 0x80000000
jne 0x4169be
mov dword [eax], edi
push 0x89b
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a80
mov edx, dword [ebp + 0x5c]
add esp, 8
mov dword [ebx + edx + 8], eax
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebx + eax + 8]
lea eax, [ebx + eax + 8]
cmp ecx, 0x80000000
jne 0x4169fa
mov dword [eax], edi
push 0xce4
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a80
mov ecx, dword [ebp + 0x5c]
add esp, 8
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [ebx + ecx], eax
call fcn.00410630
test ah, 0x40
lea ecx, [esp + 0x10]
je 0x416a3b
push 0xa33
jmp 0x416a40
push 0xa2f
call fcn.0043c49e
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416a5b
mov edx, dword [0x456ad4]
push edx
call fcn.0043c00f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
add esp, 8
test eax, eax
jne 0x416b08
push 0xa2f
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00404a40
add esp, 8
test eax, eax
jne 0x416b08
call fcn.00410630
test ah, 0x40
lea ecx, [esp + 0x10]
je 0x416aae
push 0xa33
jmp 0x416ab3
push 0xa2f
call fcn.0043c49e
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416ace
mov edx, dword [0x456ac4]
push edx
call fcn.0043c00f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
add esp, 8
test eax, eax
jne 0x416b08
push 0xa2f
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00404a40
add esp, 8
test eax, eax
je 0x416b1f
push eax
call fcn.00401000
mov ecx, dword [ebp + 0x5c]
add esp, 4
mov dword [ebx + ecx + 0x7c], eax
mov dword [ebx + ecx + 0x80], edx
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416b35
mov edx, dword [0x456ac4]
push edx
call fcn.0043c00f
push 0x898
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x416b8a
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0xe
je 0x416b7c
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x416b7e
xor eax, eax
mov edx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + edx + 0x20], eax
push 0xc1d
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x416bef
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0xf
je 0x416bd1
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x416bd3
xor eax, eax
mov edx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + edx + 0x24], eax
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebx + eax + 0x24]
push ecx
call fcn.004013c0
add esp, 4
push 0xc1e
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x416c54
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0x10
je 0x416c36
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x416c38
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + ecx + 0x28], eax
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebx + edx + 0x28]
push eax
call fcn.004013c0
add esp, 4
push 0xc1f
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x416cb9
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0x11
je 0x416c9b
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x416c9d
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + ecx + 0x2c], eax
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebx + edx + 0x2c]
push eax
call fcn.004013c0
add esp, 4
push 0xc20
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x416d1e
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0x12
je 0x416d00
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x416d02
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + ecx + 0x30], eax
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebx + edx + 0x30]
push eax
call fcn.004013c0
add esp, 4
call fcn.00410630
test ah, 0x40
lea ecx, [esp + 0x10]
je 0x416d33
push 0xceb
jmp 0x416d38
push 0xce8
call fcn.0043c49e
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416d53
mov edx, dword [0x456ad4]
push edx
call fcn.0043c00f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a80
mov edx, dword [ebp + 0x5c]
mov esi, 0x80000000
add esp, 8
mov dword [ebx + edx + 0x10], eax
mov eax, dword [ebp + 0x5c]
cmp dword [ebx + eax + 0x10], esi
jne 0x416e2b
push 0xce8
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a80
mov ecx, dword [ebp + 0x5c]
add esp, 8
mov dword [ebx + ecx + 0x10], eax
mov edx, dword [ebp + 0x5c]
cmp dword [ebx + edx + 0x10], esi
jne 0x416e2b
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416dc3
mov eax, dword [0x456ac4]
push eax
call fcn.0043c00f
call fcn.00410630
test ah, 0x40
lea ecx, [esp + 0x10]
je 0x416dd8
push 0xceb
jmp 0x416ddd
push 0xce8
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a80
mov ecx, dword [ebp + 0x5c]
add esp, 8
mov dword [ebx + ecx + 0x10], eax
mov edx, dword [ebp + 0x5c]
cmp dword [ebx + edx + 0x10], esi
jne 0x416e2b
push 0xce8
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a80
mov edx, dword [ebp + 0x5c]
add esp, 8
mov dword [ebx + edx + 0x10], eax
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebx + eax + 0x10]
lea eax, [ebx + eax + 0x10]
cmp ecx, esi
jne 0x416e3c
mov dword [eax], edi
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416e52
mov edx, dword [0x456ac4]
push edx
call fcn.0043c00f
push 0xce6
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a80
mov edx, dword [ebp + 0x5c]
add esp, 8
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [ebx + edx + 0x18], eax
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416e94
mov eax, dword [0x456ac8]
push eax
call fcn.0043c00f
push 0xa8c
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push 0x7c
push ecx
push edx
call fcn.00404ab0
mov ecx, dword [ebp + 0x5c]
add esp, 0x10
mov dword [ebx + ecx + 0x6c], eax
push 0xa91
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push 0x7c
push edx
push eax
call fcn.00404ab0
mov ecx, dword [ebp + 0x5c]
add esp, 0x10
mov dword [ebx + ecx + 0x70], eax
push 0xa92
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push 0x7c
push edx
push eax
call fcn.00404ab0
mov ecx, dword [ebp + 0x5c]
add esp, 0x10
mov dword [ebx + ecx + 0x74], eax
call fcn.00410630
test al, 4
je 0x416f25
push 0xc82
jmp 0x416f3a
call fcn.00410630
test al, 8
je 0x416f35
push 0xc83
jmp 0x416f3a
push 0xc80
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push 0x7c
push edx
push eax
call fcn.00404ab0
mov ecx, dword [ebp + 0x5c]
add esp, 0x10
mov dword [ebx + ecx + 0xb0], eax
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebx + edx + 0xb0]
test eax, eax
jne 0x416fb1
call fcn.00410630
test al, 4
jne 0x416f83
call fcn.00410630
test al, 8
je 0x416fb1
push 0xc80
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push 0x7c
push eax
push ecx
call fcn.00404ab0
mov edx, dword [ebp + 0x5c]
add esp, 0x10
mov dword [ebx + edx + 0xb0], eax
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x416fc6
mov eax, dword [0x456acc]
push eax
call fcn.0043c00f
push 0xd48
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x41701e
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0x13
je 0x41700d
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x41700f
xor eax, eax
mov ecx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + ecx + 0xa4], eax
push 0xc81
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push 0x7c
push edx
push eax
call fcn.00404ab0
mov ecx, dword [ebp + 0x5c]
add esp, 0x10
mov dword [ebx + ecx + 0xb4], eax
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x417062
mov edx, dword [0x456ad4]
push edx
call fcn.0043c00f
xor esi, esi
call fcn.00410630
test al, 0xfe
je 0x417087
push 0xd4a
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
jmp 0x4170ba
call fcn.00410630
test ah, 0x20
je 0x417098
push 0xd4f
jmp 0x4170a7
call fcn.00410630
test ah, 2
je 0x4170f2
push 0xd4e
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4170f2
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x4170de
mov edx, dword [0x456acc]
push edx
call fcn.0043c00f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
add esp, 8
mov esi, eax
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x417108
mov edx, dword [0x456ad4]
push edx
call fcn.0043c00f
test esi, esi
jne 0x417160
push 0xd49
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x417160
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x417148
mov edx, dword [0x456acc]
push edx
call fcn.0043c00f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x4171a5
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0x14
je 0x417181
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x417183
xor eax, eax
mov edx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + edx + 0xa8], eax
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebx + eax + 0xa8]
push ecx
call fcn.004013c0
add esp, 4
push 0xd4b
lea ecx, [esp + 0x14]
call fcn.0043c49e
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x4171c9
mov edx, dword [0x456ad4]
push edx
call fcn.0043c00f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x41720f
mov ecx, dword [0x456abc]
test ecx, ecx
je 0x4171f7
mov edx, dword [0x456acc]
push edx
call fcn.0043c00f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00404a40
mov esi, eax
add esp, 8
test esi, esi
je 0x417254
push 4
call fcn.0043c46a
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x3c], 0x15
je 0x417230
push esi
mov ecx, eax
call fcn.0043bf90
jmp 0x417232
xor eax, eax
mov edx, dword [ebp + 0x5c]
mov byte [esp + 0x3c], 1
mov dword [ebx + edx + 0xac], eax
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebx + eax + 0xac]
push ecx
call fcn.004013c0
add esp, 4
mov edx, dword [ebp + 0x5c]
pop esi
mov ecx, dword [ebx + edx + 0x6c]
lea eax, [ebx + edx]
test ecx, ecx
je 0x417273
add ebp, 0xb0
add eax, 0xb8
push ebp
push eax
push ecx
jmp 0x4172ab
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x417290
lea edx, [ebp + 0xb0]
add eax, 0xd0
push edx
push eax
push ecx
call fcn.00404870
add esp, 0xc
mov eax, dword [ebp + 0x5c]
add ebx, eax
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x4172b3
add ebp, 0xb0
add ebx, 0xe8
push ebp
push ebx
push eax
call fcn.00404870
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.0043bf22
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0043bf22
mov ecx, dword [esp + 0x30]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8