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

Disassembly:
push 0xffffffffffffffff
push 0x44d7d6
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebx
push ebp
push esi
push edi
mov eax, dword [0x461b64]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
xor ebp, ebp
push 0x461178
mov dword [esp + 0x1c], ebp
call dword [esp + 0x118]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x34], edi
jne 0x40df37
mov eax, dword [esp + 0x110]
push 1
push eax
lea esi, [esp + 0x44]
call fcn.0040d310
add esp, 8
push eax
push str.WARNING:_Cant_initialize
push 0x463178
mov dword [esp + 0x114], ebp
call fcn.00403ad0
add esp, 8
push eax
call fcn.00403ce0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
cmp dword [esp + 0x54], 0x10
jb 0x40e5d9
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004360b5
add esp, 4
jmp 0x40e5d9
mov eax, dword [edi]
cmp eax, ebp
je 0x40e5d9
jmp 0x40df47
mov ebx, dword [esp + 0x28]
mov edx, dword [eax]
mov ebp, dword [esp + 0x110]
add edx, eax
lea ecx, [eax + 8]
cmp ecx, edx
ja 0x40df70
mov eax, dword [eax + 4]
test eax, eax
je 0x40df70
call eax
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
jne 0x40e01f
push 1
push ebp
lea esi, [esp + 0x44]
call fcn.0040d310
add esp, 8
push eax
push str.WARNING:_Found_module_with_invalid_type_in
push 0x463178
mov dword [esp + 0x114], 1
call fcn.00403ad0
add esp, 8
push eax
call fcn.00403ce0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x40dfd6
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x40dfd6
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40dff7
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x40dfef
or eax, 4
push 0
push eax
call fcn.00401cc0
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x108], 0xffffffff
jb 0x40e5c3
mov edx, dword [esp + 0x40]
push edx
call fcn.004360b5
add esp, 4
jmp 0x40e5c3
push 0x10
call fcn.004362e3
add esp, 4
test eax, eax
je 0x40e03e
mov ecx, dword [edi]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
jmp 0x40e040
xor eax, eax
test eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
jne 0x40e075
push str.No_enough_memory.
push 0x463178
call fcn.00403ad0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
jmp 0x40e5c3
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.0040ca20
mov ebp, dword [esp + 0x2c]
test ebp, ebp
mov edi, dword [ebx + 4]
je 0x40e095
cmp ebp, ebx
je 0x40e09a
call fcn.004362ba
mov ebx, dword [esp + 0x30]
cmp ebx, edi
jne 0x40e178
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0xf8]
push edx
mov ecx, edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0
call fcn.0040d670
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
call fcn.0040ca20
mov ebp, dword [eax]
test ebp, ebp
mov ebx, dword [eax + 4]
mov edi, dword [edi + 4]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
je 0x40e0f8
cmp ebp, dword [esp + 0x28]
je 0x40e0fd
call fcn.004362ba
cmp ebx, edi
jne 0x40e178
lea edx, [esp + 0x3c]
push edx
call fcn.0040dd90
add esp, 4
push eax
push str.WARNING:_Cant_add_module_type
push 0x463178
mov dword [esp + 0x114], 2
call fcn.00403ad0
add esp, 8
push eax
call fcn.00403ce0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x108], 0xffffffff
jb 0x40e166
mov eax, dword [esp + 0x40]
push eax
call fcn.004360b5
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004360b5
add esp, 4
jmp 0x40e5c3
test ebp, ebp
jne 0x40e181
call fcn.004362ba
cmp ebx, dword [ebp + 4]
jne 0x40e18b
call fcn.004362ba
cmp dword [ebx + 0x10], 0
jne 0x40e211
push 0x10
call fcn.004362e3
add esp, 4
xor edi, edi
cmp eax, edi
je 0x40e1b2
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov esi, eax
jmp 0x40e1b4
xor esi, esi
cmp ebx, dword [ebp + 4]
mov dword [esp + 0x108], 0xffffffff
jne 0x40e1c9
call fcn.004362ba
mov dword [ebx + 0x10], esi
cmp ebx, dword [ebp + 4]
jne 0x40e1d6
call fcn.004362ba
cmp dword [ebx + 0x10], edi
jne 0x40e211
push str.No_enough_memory.
push 0x463178
call fcn.00403ad0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
mov edx, dword [esp + 0x20]
push edx
call fcn.004360b5
add esp, 4
jmp 0x40e5c3
cmp ebx, dword [ebp + 4]
jne 0x40e21b
call fcn.004362ba
mov eax, dword [ebx + 0x10]
mov ebp, dword [eax + 4]
cmp ebp, dword [eax + 8]
mov dword [esp + 0x1c], eax
jbe 0x40e230
call fcn.004362ba
nop
mov eax, dword [esp + 0x2c]
cmp ebx, dword [eax + 4]
jne 0x40e23e
call fcn.004362ba
mov esi, dword [ebx + 0x10]
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x40e24e
call fcn.004362ba
cmp dword [esp + 0x1c], esi
je 0x40e259
call fcn.004362ba
cmp ebp, edi
je 0x40e597
mov ecx, dword [esp + 0x1c]
cmp ebp, dword [ecx + 8]
jb 0x40e26f
call fcn.004362ba
cmp dword [ebp], 0
je 0x40e2eb
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xd8]
push edx
call fcn.0040d150
mov esi, eax
mov eax, dword [esp + 0x1c]
or dword [esp + 0x18], 1
cmp ebp, dword [eax + 8]
mov dword [esp + 0x108], 4
jb 0x40e2a6
call fcn.004362ba
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebp]
call fcn.0040d150
or dword [esp + 0x18], 2
cmp dword [esi + 0x18], 0x10
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x108], 5
jb 0x40e2d1
mov esi, dword [esi + 4]
jmp 0x40e2d4
add esi, 4
mov edx, dword [eax + 0x14]
push ecx
push esi
push edx
push 0
mov ecx, eax
call fcn.00406490
test eax, eax
jne 0x40e2eb
mov bl, 1
jmp 0x40e2ed
xor bl, bl
test byte [esp + 0x18], 2
je 0x40e322
and dword [esp + 0x18], 0xfffffffd
cmp dword [esp + 0x54], 0x10
jb 0x40e30d
mov eax, dword [esp + 0x40]
push eax
call fcn.004360b5
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
test byte [esp + 0x18], 1
mov dword [esp + 0x108], 0xffffffff
je 0x40e353
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0xf0], 0x10
jb 0x40e353
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.004360b5
add esp, 4
test bl, bl
je 0x40e57d
mov edx, dword [esp + 0x110]
push 1
push edx
lea esi, [esp + 0xa0]
call fcn.0040d310
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x1c]
cmp ebp, dword [eax + 8]
mov dword [esp + 0x108], 6
jb 0x40e38f
call fcn.004362ba
mov ecx, dword [ebp]
mov eax, dword [ecx + 4]
push 1
push eax
lea esi, [esp + 0xbc]
call fcn.0040d310
mov edi, eax
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x114], 7
call fcn.0040dd90
add esp, 0xc
mov esi, eax
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x10c], 8
call fcn.0040d150
push 0x451c24
push esi
push str._with_type
push eax
push str.Module
push 0x463178
mov byte [esp + 0x120], 9
call fcn.00403ad0
add esp, 8
push eax
call fcn.00403ce0
add esp, 8
push eax
call fcn.00403ad0
add esp, 8
push eax
call fcn.00403ce0
add esp, 8
push eax
call fcn.00403ad0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
push edi
push 0x451988
push esi
call fcn.00403ad0
add esp, 8
push eax
call fcn.00403ce0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
push str.replaced_by_module_in
push esi
call fcn.00403ad0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
push ebx
push 0x451988
push esi
call fcn.00403ad0
add esp, 8
push eax
call fcn.00403ce0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404220
mov ecx, esi
call fcn.00402a00
cmp dword [esp + 0x94], 0x10
jb 0x40e4c1
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004360b5
add esp, 4
xor edi, edi
mov ebx, 0x10
cmp dword [esp + 0x78], ebx
mov esi, 0xf
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
jb 0x40e4f6
mov edx, dword [esp + 0x64]
push edx
call fcn.004360b5
add esp, 4
cmp dword [esp + 0xcc], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
jb 0x40e51c
mov eax, dword [esp + 0xb8]
push eax
call fcn.004360b5
add esp, 4
cmp dword [esp + 0xb0], ebx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], edi
mov byte [esp + 0xb8], 0
mov dword [esp + 0x108], 0xffffffff
jb 0x40e556
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004360b5
add esp, 4
mov edx, dword [esp + 0x1c]
cmp ebp, dword [edx + 8]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], edi
mov byte [esp + 0x9c], 0
jb 0x40e57a
call fcn.004362ba
mov dword [ebp], edi
mov eax, dword [esp + 0x1c]
cmp ebp, dword [eax + 8]
jb 0x40e58b
call fcn.004362ba
mov ebx, dword [esp + 0x30]
add ebp, 4
jmp 0x40e230
mov ecx, dword [esp + 0x2c]
cmp ebx, dword [ecx + 4]
jne 0x40e5a5
call fcn.004362ba
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x38]
push edx
call fcn.0040d980
mov ecx, dword [esp + 0x118]
lea eax, [esp + 0x38]
push eax
call fcn.0040d980
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
mov dword [esp + 0x34], edi
jne 0x40df43
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret 0xc