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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492191
push eax
mov eax, dword [0x4b574c]
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, 1
cmp eax, ebx
push esi
mov esi, ecx
je 0x417050
mov eax, dword [esi + 0x158]
push ebp
mov ebp, dword [eax]
cmp ebp, eax
mov dword [0x4b574c], ebx
je 0x417045
push edi
jmp 0x416bc0
mov ebx, 1
lea ecx, [ecx]
mov ecx, dword [esi + 0x158]
mov edi, dword [ebp + 8]
mov eax, dword [ecx]
cmp eax, ecx
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
je 0x416bfb
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 0x15c]
add esp, 4
dec eax
mov dword [esi + 0x15c], eax
mov dword [esp + 0x14], ebx
mov ebx, dword [0x4b55b8]
mov edx, dword [ebx + 0x1c]
test edx, edx
je 0x416ef9
mov ebp, dword [edi]
mov eax, 6
mov ecx, 0x49a6f8
lea esp, [esp]
cmp eax, ebp
je 0x416c33
mov eax, dword [ecx + 0x10]
add ecx, 0x10
cmp eax, 0xfffffffe
jne 0x416c20
xor ebp, ebp
jmp 0x416c4b
mov ecx, dword [esi + 4]
mov eax, dword [edx]
xor ebp, ebp
push ebp
push 0x5dc
push ecx
push edx
call dword [eax + 0x44]
mov ebx, dword [0x4b55b8]
mov eax, dword [ebx + 0x1c]
cmp eax, ebp
je 0x416ebb
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
cmp eax, 0xc
jne 0x416eb5
mov eax, dword [edi]
cmp eax, 0x60
jne 0x416d78
mov eax, dword [esi + 4]
push 0x403ba0
push 0x408d90
push 1
push 0x10
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x2c], eax
call fcn.0048c53e
mov ecx, dword [0x4b55b8]
lea edx, [esp + 0x18]
lea eax, [esp + 0x58]
mov word [esp + 0x58], 0x4000
mov dword [esp + 0x60], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ebp
mov dword [esp + 0x1c], 0x100
mov ebx, 0xd
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 1
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 4]
push 0x820
push ecx
push eax
mov dword [esp + 0x90], ebp
call dword [edx + 0x44]
test eax, eax
je 0x416cfb
mov ebp, dword [esp + 0x14]
mov edx, dword [0x4b55b8]
mov dword [esp + 0x1c], 0x102
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 1
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esi + 4]
push 0x820
push edx
push eax
call dword [ecx + 0x44]
test eax, eax
jne 0x416d32
xor ebp, ebp
mov eax, dword [0x4b55b8]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esi + 4]
push 0x820
mov dword [esp + 0x24], 0x101
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0xc0000001
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
test eax, eax
jne 0x416d68
xor ebp, ebp
push 0x403ba0
push 1
lea eax, [esp + 0x60]
jmp 0x416e99
cmp eax, 0x3e8
jl 0x416eb5
cmp eax, 0x3f1
jg 0x416eb5
mov ecx, dword [esi + 4]
push 0x403ba0
push 0x408d90
mov ebx, 1
push ebx
push 0x10
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x3c], ecx
call fcn.0048c53e
mov edx, dword [edi]
sub edx, 0x388
mov dword [esp + 0x30], edx
lea edx, [esp + 0x48]
push edx
mov edx, dword [esi + 4]
lea eax, [esp + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [0x4b55b8]
lea ecx, [esp + 0x6c]
push 0x820
mov word [esp + 0x70], 0x4000
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x3c], ebx
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov dword [esp + 0x90], ebx
call dword [ecx + 0x44]
test eax, eax
je 0x416e17
mov ebp, dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, dword [0x4b55b8]
sub eax, 0x3b8
mov dword [esp + 0x2c], 0x102
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 4]
push 0x820
push ecx
push eax
call dword [edx + 0x44]
test eax, eax
jne 0x416e51
xor ebp, ebp
mov edx, dword [edi]
mov eax, dword [0x4b55b8]
sub edx, 0x388
mov dword [esp + 0x30], edx
lea edx, [esp + 0x48]
push edx
mov edx, dword [esi + 4]
push 0x820
mov dword [esp + 0x34], 0x101
mov dword [esp + 0x3c], 0xc0000001
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
test eax, eax
jne 0x416e8f
xor ebp, ebp
push 0x403ba0
push ebx
lea eax, [esp + 0x70]
push 0x10
push eax
mov dword [esp + 0x90], 0xffffffff
call fcn.0048c494
cmp ebp, 1
jne 0x416fc7
mov ebx, dword [0x4b55b8]
mov ecx, dword [edi]
cmp ecx, 0xffffffff
mov eax, dword [ebx + 0x1c]
je 0x416ed6
mov edx, dword [eax]
lea ebx, [edi + 8]
push ebx
push ecx
mov ecx, dword [esi + 4]
push ecx
push eax
call dword [edx + 0x44]
jmp 0x416eec
mov ecx, dword [edi + 4]
mov edx, dword [ecx - 8]
mov ebx, dword [eax]
lea ebp, [edi + 8]
push ebp
push edx
mov edx, dword [esi + 4]
push ecx
push edx
push eax
call dword [ebx + 0x48]
cmp eax, 1
mov ebp, dword [esp + 0x10]
jne 0x416fcb
mov ebx, dword [edi]
cmp ebx, 0xffffffff
je 0x416fb3
mov ecx, dword [0x4b2350]
xor eax, eax
cmp ecx, 0xfffffffe
je 0x416f5e
mov edx, 0x4b2350
cmp ecx, ebx
je 0x416f28
mov ecx, dword [edx + 0x10]
add edx, 0x10
inc eax
cmp ecx, 0xfffffffe
jne 0x416f16
jmp 0x416f5e
lea ecx, [edi + 8]
shl eax, 4
push ecx
mov ecx, dword [eax + 0x4b235c]
add ecx, esi
mov dword [0x4b574c], 0
call dword [eax + 0x4b2358]
mov ecx, dword [0x4b574c]
test ecx, ecx
jne 0x416f59
mov ecx, dword [esi + 0x158]
mov ebp, dword [ecx]
cmp eax, 1
jne 0x416fcb
mov eax, dword [0x4b23f0]
xor ecx, ecx
cmp eax, 0xfffffffe
je 0x416f9f
mov ebx, dword [edi]
mov edx, 0x4b23f0
cmp eax, ebx
je 0x416f83
mov eax, dword [edx + 0x10]
add edx, 0x10
inc ecx
cmp eax, 0xfffffffe
jne 0x416f71
jmp 0x416f9f
shl ecx, 4
mov eax, ecx
mov ecx, dword [eax + 0x4b23fc]
lea edx, [edi + 8]
push edx
add ecx, esi
call dword [eax + 0x4b23f8]
cmp eax, 1
jne 0x416fcb
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x416fb3
lea ecx, [edi + 8]
push ecx
push eax
push esi
call fcn.0047bff0
jmp 0x416fcb
mov eax, dword [edi + 4]
mov ecx, dword [eax - 8]
lea edx, [edi + 8]
push edx
push ecx
push eax
push esi
call fcn.00485880
jmp 0x416fcb
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [esp + 0x80], 2
jbe 0x417005
mov eax, dword [edi + 8]
test eax, eax
je 0x417005
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x403ba0
push ecx
push 0x10
push eax
call fcn.0048c494
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [edi + 4]
sub eax, 0x10
mov dword [esp + 0x80], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41702d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 0x158]
add esp, 4
cmp ebp, eax
jne 0x416bb8
pop edi
mov dword [0x4b574c], 0
pop ebp
mov ecx, dword [esp + 0x70]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0x10