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

Disassembly:
push 0xffffffffffffffff
push 0x40f643
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x417018]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417018]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xfc]
mov eax, dword [ebp + 4]
mov edi, ecx
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.00406820
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
xor esi, esi
mov dword [eax + 8], eax
mov dword [ebp + 8], esi
cmp dword [edi + 0x10], esi
jne 0x4099a8
xor al, al
jmp 0x409fd0
xor edx, edx
mov edi, 7
push 1
mov eax, 0x410f6c
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], esi
mov word [esp + 0xcc], dx
call fcn.004068c0
mov dword [esp + 0xf4], esi
xor eax, eax
mov word [esp + 0xac], ax
push 1
mov eax, 0x410f70
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], esi
call fcn.004068c0
xor ecx, ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
mov word [esp + 0x58], cx
xor edx, edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], dx
mov byte [esp + 0xf4], 3
mov ebx, dword [esp + 0xdc]
mov eax, dword [esp + 0xc8]
cmp ebx, 8
jae 0x409a4a
lea eax, [esp + 0xc8]
mov edi, dword [esp + 0xd8]
push edi
push eax
mov eax, dword [esp + 0x1c]
push eax
mov edx, esi
call fcn.0040bdf0
mov esi, eax
cmp esi, 0xffffffff
je 0x409ec8
mov eax, dword [esp + 0xc8]
cmp ebx, 8
jae 0x409a7d
lea eax, [esp + 0xc8]
mov ecx, dword [esp + 0x14]
push edi
push eax
lea edx, [esi + 1]
push ecx
call fcn.0040bdf0
xor edi, edi
xor edx, edx
mov ebx, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], dx
mov edx, dword [esp + 0x14]
mov byte [esp + 0xf4], 4
cmp ebx, 0xffffffff
je 0x409b5d
sub eax, esi
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.0040a5c0
mov esi, eax
lea edx, [esp + 0x20]
cmp edx, esi
je 0x409b3d
cmp dword [esp + 0x34], 8
jb 0x409ae6
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], cx
cmp dword [esi + 0x14], 8
jae 0x409b18
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x24]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x409b20
mov ecx, dword [esi]
mov dword [esp + 0x20], ecx
mov dword [esi], edi
mov edx, dword [esi + 0x10]
mov dword [esp + 0x30], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], cx
mov byte [esp + 0xf4], 4
cmp dword [esp + 0x88], 8
jb 0x409c01
mov edx, dword [esp + 0x74]
push edx
jmp 0x409bf8
push 0xffffffffffffffff
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.0040a5c0
mov esi, eax
lea ecx, [esp + 0x20]
cmp ecx, esi
je 0x409be1
cmp dword [esp + 0x34], 8
jb 0x409b8a
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
cmp dword [esi + 0x14], 8
jae 0x409bbc
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x24]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x409bc4
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov dword [esi], edi
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x34], edx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
mov byte [esp + 0xf4], 4
cmp dword [esp + 0x88], 8
jb 0x409c01
mov ecx, dword [esp + 0x74]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
cmp dword [esp + 0xc0], 8
mov eax, dword [esp + 0xac]
jae 0x409c19
lea eax, [esp + 0xac]
mov edx, dword [esp + 0xbc]
push edx
push eax
lea eax, [esp + 0x28]
push eax
xor edx, edx
call fcn.0040bdf0
cmp eax, 0xffffffff
je 0x409ea6
lea edi, [eax + 1]
push edi
lea ecx, [esp + 0x78]
push ecx
xor ecx, ecx
lea edx, [esp + 0x28]
call fcn.0040a5c0
mov esi, eax
lea edx, [esp + 0x58]
cmp edx, esi
je 0x409ccd
cmp dword [esp + 0x6c], 8
jb 0x409c6a
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], cx
cmp dword [esi + 0x14], 8
jae 0x409ca0
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x5c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x409cac
mov ecx, dword [esi]
mov dword [esp + 0x58], ecx
mov dword [esi], 0
mov edx, dword [esi + 0x10]
mov dword [esp + 0x68], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x6c], eax
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov byte [esp + 0xf4], 4
cmp dword [esp + 0x88], 8
jb 0x409ced
mov edx, dword [esp + 0x74]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
push 0xffffffffffffffff
lea eax, [esp + 0x78]
push eax
mov ecx, edi
lea edx, [esp + 0x28]
call fcn.0040a5c0
mov esi, eax
lea ecx, [esp + 0x3c]
cmp ecx, esi
je 0x409d79
cmp dword [esp + 0x50], 8
jb 0x409d1e
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor edi, edi
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], ax
cmp dword [esi + 0x14], 8
jae 0x409d52
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x40]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x409d5a
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov dword [esi], edi
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x50], edx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
jmp 0x409d7b
xor edi, edi
mov byte [esp + 0xf4], 4
cmp dword [esp + 0x88], 8
jb 0x409d9b
mov ecx, dword [esp + 0x74]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
push edi
lea eax, [esp + 0x5c]
mov dword [esp + 0x88], edi
xor edx, edx
push eax
or eax, 0xffffffff
lea edi, [esp + 0x7c]
mov dword [esp + 0x90], 7
mov word [esp + 0x7c], dx
call fcn.004066c0
xor esi, esi
mov byte [esp + 0xf4], 9
push esi
lea edx, [esp + 0x40]
xor ecx, ecx
push edx
or eax, 0xffffffff
lea edi, [esp + 0x98]
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], esi
mov word [esp + 0x98], cx
call fcn.004066c0
lea ecx, [esp + 0x74]
mov edx, ebp
mov byte [esp + 0xf4], 0xa
call fcn.00407d00
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.004076c0
mov edi, 8
mov byte [esp + 0xf4], 4
cmp dword [esp + 0xa4], edi
jb 0x409e47
mov ecx, dword [esp + 0x90]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor edx, edx
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], esi
mov word [esp + 0x90], dx
cmp dword [esp + 0x88], edi
jb 0x409e7a
mov eax, dword [esp + 0x74]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
cmp ebx, 0xffffffff
je 0x409eb4
mov byte [esp + 0xf4], 3
mov esi, ebx
cmp dword [esp + 0x34], edi
jb 0x409a30
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
jmp 0x409a30
cmp dword [esp + 0x34], 8
jb 0x409ec8
mov edx, dword [esp + 0x20]
push edx
jmp 0x409ebf
cmp dword [esp + 0x34], edi
jb 0x409ec8
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, dword [ebp + 4]
mov ecx, dword [eax]
xor edx, edx
cmp ecx, eax
je 0x409f26
mov esi, eax
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0x1c]
add edx, eax
cmp byte [ecx + 0x45], 0
jne 0x409f22
mov eax, dword [ecx + 8]
cmp byte [eax + 0x45], 0
jne 0x409f02
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x409f22
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x409ef6
jmp 0x409f22
mov eax, dword [ecx + 4]
cmp byte [eax + 0x45], 0
jne 0x409f20
jmp 0x409f10
cmp ecx, dword [eax + 8]
jne 0x409f20
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x409f10
mov ecx, eax
cmp ecx, esi
jne 0x409ed5
mov ecx, dword [esp + 0x14]
cmp edx, dword [ecx + 0x10]
mov ebp, 8
sete bl
cmp dword [esp + 0x50], ebp
jb 0x409f49
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor esi, esi
xor eax, eax
mov edi, 7
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], ax
cmp dword [esp + 0x6c], ebp
jb 0x409f73
mov ecx, dword [esp + 0x58]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor edx, edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
mov word [esp + 0x58], dx
cmp dword [esp + 0xc0], ebp
jb 0x409f9c
mov eax, dword [esp + 0xac]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor ecx, ecx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], esi
mov word [esp + 0xac], cx
cmp dword [esp + 0xdc], ebp
jb 0x409fce
mov edx, dword [esp + 0xc8]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0040d342
add esp, 0xe4
ret 4