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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d6240
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x88]
xor esi, esi
cmp edi, esi
je 0x40e7b9
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
push edi
mov dword [esp + 0x30], esi
call dword [eax + 0x38]
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x40e014
mov ebp, dword [0x4db40c]
push 0x4ebe98
push eax
xor ebx, ebx
mov dword [esp + 0x3c], esi
call ebp
add esp, 8
test eax, eax
je 0x40dfee
mov edx, dword [esp + 0x28]
push 0x4ebe8c
push edx
call ebp
add esp, 8
test eax, eax
je 0x40dfee
mov eax, dword [esp + 0x28]
push 0x4ebe7c
push eax
call ebp
add esp, 8
test eax, eax
jne 0x40de8f
mov ebx, 1
mov dword [esp + 0x34], ebx
jmp 0x40dfee
mov ecx, dword [esp + 0x28]
push 0x4ebe74
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40dfe5
mov edx, dword [edi]
lea eax, [esp + 0x30]
mov ebx, 1
push eax
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
call dword [edx + 0x3c]
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x40dfee
lea edx, [esp + 0x54]
mov dword [esp + 0x54], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x38]
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x40dfd9
push 0x4ebe98
push eax
call ebp
add esp, 8
test eax, eax
jne 0x40dfce
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], esi
push edx
mov ecx, dword [eax]
push 0x4ddae0
push eax
call dword [ecx]
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x40dfce
lea edx, [esp + 0x44]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x44], esi
mov ecx, dword [eax]
push edx
push 0x4ebe74
push eax
call dword [ecx + 0x1a0]
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x40df57
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x174]
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x40df92
mov edx, dword [eax]
lea ecx, [esp + 0x4c]
push ecx
push 0x4ddaf0
push eax
call dword [edx]
mov eax, dword [esp + 0x48]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x40dfaf
mov ecx, dword [eax]
lea edx, [esp + 0x64]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
cmp ecx, eax
je 0x40dfc0
cmp eax, 0x1e
jle 0x40dfc4
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x50]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x54]
push eax
call dword [0x4db53c]
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40dfee
mov dword [esp + 0x34], esi
mov ebx, 1
mov edx, dword [esp + 0x28]
push edx
call dword [0x4db53c]
cmp ebx, esi
je 0x40e014
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push ecx
push edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x40], esi
call dword [eax + 0x174]
cmp dword [esp + 0x38], esi
je 0x40e08c
lea edx, [esp + 0x38]
lea ecx, [esp + 0x1c]
push edx
call fcn.00410440
cmp eax, esi
jge 0x40e05a
cmp eax, 0x80004002
je 0x40e05a
push eax
call fcn.004d2dd2
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x40e08c
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [edx + 0x24]
cmp dword [esp + 0x14], 0x14
jle 0x40e08c
lea ecx, [esp + 0x1c]
call fcn.00472640
jmp 0x40e7b9
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x88], esi
mov edx, dword [edi]
lea eax, [esp + 0x88]
push eax
push 0x4ddae0
push edi
mov byte [esp + 0x8c], 3
call dword [edx]
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x10]
cmp eax, esi
jne 0x40e0e0
call fcn.00472640
lea ecx, [esp + 0x20]
call fcn.00472640
lea ecx, [esp + 0x1c]
call fcn.00472640
jmp 0x40e7b9
call fcn.00472640
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
push edx
mov ecx, dword [eax]
push 0x4ebe70
push eax
call dword [ecx + 0x1a0]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], esi
cmp eax, esi
je 0x40e14d
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, 0xa
mov dword [esp + 0x64], eax
jle 0x40e14d
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 2
cmp eax, esi
je 0x40e22d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
jmp 0x40e0c4
mov edx, dword [edi]
lea eax, [esp + 0x58]
push eax
push edi
mov dword [esp + 0x60], esi
call dword [edx + 0xf0]
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x40e1b0
push eax
mov edi, 1
call dword [0x4db410]
add esp, 4
cmp eax, 0xc8
jbe 0x40e17f
xor edi, edi
mov ecx, dword [esp + 0x58]
push ecx
call dword [0x4db53c]
cmp edi, esi
jne 0x40e1b0
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 2
cmp eax, esi
je 0x40e1a7
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x10]
jmp 0x40e0c4
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 4
call fcn.00472640
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], esi
push edx
mov ecx, dword [eax]
push 0x4ebe74
push eax
call dword [ecx + 0x1a0]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x40e2ef
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, esi
jle 0x40e2ef
cmp eax, 0x10
jle 0x40e236
lea ecx, [esp + 0x18]
call fcn.00472640
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 2
cmp eax, esi
je 0x40e22d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
jmp 0x40e0c4
cmp eax, esi
mov word [esp + 0x68], 3
jle 0x40e2ef
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], ecx
jne 0x40e271
push 0x80004003
call fcn.004d2dd2
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
mov edx, dword [eax]
push ecx
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40e2e0
mov edx, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push 0x4ddb00
push eax
call dword [edx]
mov eax, dword [esp + 0x5c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40e2e0
push eax
call fcn.0043d3d0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x3c]
jne 0x40e3d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x40e251
xor esi, esi
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
push ecx
mov edx, dword [eax]
push 0x4ebe7c
push eax
mov byte [esp + 0x8c], 5
call dword [edx + 0x1a0]
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x40e433
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [edx + 0x24]
cmp dword [esp + 0x14], esi
jle 0x40e433
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], 4
cmp eax, esi
je 0x40e34c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 3
cmp eax, esi
je 0x40e362
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 2
cmp eax, esi
je 0x40e37b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x80], 1
cmp eax, esi
je 0x40e391
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 0
cmp eax, esi
je 0x40e3a7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], 0xffffffff
cmp eax, esi
je 0x40e3c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x18]
call fcn.00472640
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 2
test eax, eax
je 0x40e400
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
call fcn.00472640
lea ecx, [esp + 0x20]
call fcn.00472640
lea ecx, [esp + 0x1c]
call fcn.00472640
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
push ecx
mov edx, dword [eax]
mov bl, 6
push 0x4ebe60
push eax
mov byte [esp + 0x8c], bl
call dword [edx + 0x1a0]
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x40e537
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [edx + 0x24]
cmp dword [esp + 0x14], esi
jle 0x40e537
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x80], 5
cmp eax, esi
je 0x40e491
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], 4
cmp eax, esi
je 0x40e4a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 3
cmp eax, esi
je 0x40e4bd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 2
cmp eax, esi
je 0x40e4d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x80], 1
cmp eax, esi
je 0x40e4ec
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 0
cmp eax, esi
je 0x40e502
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], 0xffffffff
cmp eax, esi
je 0x40e633
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x40]
mov dword [esp + 0x40], esi
push edx
mov ecx, dword [eax]
push 0x4ebe54
push eax
mov byte [esp + 0x8c], 7
call dword [ecx + 0x1a0]
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x40e64f
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x24]
cmp dword [esp + 0x14], esi
jle 0x40e64b
mov eax, dword [esp + 0x40]
mov byte [esp + 0x80], bl
cmp eax, esi
je 0x40e593
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x80], 5
cmp eax, esi
je 0x40e5a9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], 4
cmp eax, esi
je 0x40e5bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 3
cmp eax, esi
je 0x40e5d5
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 2
cmp eax, esi
je 0x40e5ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x80], 1
cmp eax, esi
je 0x40e604
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 0
cmp eax, esi
je 0x40e61a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], 0xffffffff
cmp eax, esi
je 0x40e633
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x80], bl
cmp ecx, esi
jne 0x40e70f
cmp eax, esi
je 0x40e66c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x80], 5
cmp eax, esi
je 0x40e682
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], 4
cmp eax, esi
je 0x40e698
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 3
cmp eax, esi
je 0x40e6ae
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 2
cmp eax, esi
je 0x40e6c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x80], 1
cmp eax, esi
je 0x40e6dd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 0
cmp eax, esi
je 0x40e6f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], 0xffffffff
cmp eax, esi
je 0x40e7b9
jmp 0x40e7b3
cmp eax, esi
je 0x40e719
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x80], 5
cmp eax, esi
je 0x40e72f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], 4
cmp eax, esi
je 0x40e745
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 3
cmp eax, esi
je 0x40e75b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x88]
mov byte [esp + 0x80], 2
cmp eax, esi
je 0x40e774
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x80], 1
cmp eax, esi
je 0x40e78a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 0
cmp eax, esi
je 0x40e7a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], 0xffffffff
cmp eax, esi
je 0x40e7b9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret