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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x4b4
mov eax, dword [0x4a99c8]
xor eax, esp
mov dword [esp + 0x4b0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x24]
mov dword [esp + 0x14], edi
test eax, eax
jns 0x40b6d1
push str.Manifest
push dword [esi + 4]
call fcn.0041a220
push str.ParseError_:_LoadResourceData___bogus_resource_offset___is_negative
push dword [esi + 4]
call fcn.0041a710
push dword [esi + 4]
call fcn.0041a5c0
push 0x26
push edi
call fcn.00408650
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0041c143
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x1c]
test edi, edi
jns 0x40b71d
push str.Manifest
push dword [esi + 4]
call fcn.0041a220
push str.ParseError_:_LoadResourceData___bogus_resource_size___is_negative
push dword [esi + 4]
call fcn.0041a710
push dword [esi + 4]
call fcn.0041a5c0
push 0x26
push dword [esp + 0x2c]
call fcn.00408650
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0041c143
mov esp, ebp
pop ebp
ret
add eax, edi
push eax
push ecx
call fcn.004037b0
add esp, 8
test eax, eax
jns 0x40b741
push str.Manifest
push dword [esi + 4]
call fcn.0041a220
push str.ParseError_:_LoadResourceData___File_Appears_Corrupted
jmp 0x40b6ea
push dword [ebp + 0x18]
push dword [esp + 0x14]
call fcn.004037b0
add esp, 8
test eax, eax
jns 0x40b768
push str.Manifest
push dword [esi + 4]
call fcn.0041a220
push str.ParseError_:_LoadResourceData___Offset_out_of_bounds__file_appears_corrupted
jmp 0x40b6ea
push 0x38
lea eax, [esp + 0x84]
push 0
push eax
call fcn.0041db20
add esp, 4
lea eax, [esp + 0x88]
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0x100
push eax
push edi
push dword [esp + 0x24]
call fcn.00403550
add esp, 4
push eax
call fcn.004183b0
add esp, 0x18
push edi
push dword [esp + 0x14]
call fcn.00403550
add esp, 4
push eax
call fcn.0041c090
add esp, 8
fstp qword [esp + 0x28]
push edi
push dword [esp + 0x14]
call fcn.00403550
add esp, 4
push eax
call fcn.004182a0
add esp, 8
lea eax, [esp + 0x3b8]
fstp qword [esp + 0x20]
push 0x100
push eax
push edi
push dword [esp + 0x1c]
call fcn.00403550
add esp, 4
push eax
call fcn.00414cc0
movsd xmm0, qword [esp + 0x30]
add esp, 0x10
comisd xmm0, xmmword [0x455530]
jbe 0x40b824
cmp edi, 0x4e20
jle 0x40b824
push 0x14
push dword [esp + 0x18]
call fcn.00408650
add esp, 8
lea eax, [esp + 0x2b8]
push eax
push 1
push ebx
call fcn.0040c280
mov cl, byte [ebx + 0x16c]
add esp, 0xc
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x16c]
mov byte [esp + 0xb8], 0
test cl, cl
jg 0x40b859
mov eax, dword [ebx + 0x168]
push eax
test cl, cl
mov edx, 0x440bbc
mov eax, 0x453e38
cmovg eax, edx
push eax
lea eax, [esp + 0xc0]
push 0x100
push eax
call fcn.00401010
lea eax, [ebx + 0x270]
mov byte [esp + 0x1c8], 0
add esp, 0x10
cmp byte [eax], 0
jg 0x40b8bc
cmp dword [str.Afrikaans], 0
mov eax, 0x489f88
je 0x40b8b7
mov ecx, dword [ebx + 0x26c]
cmp dword [eax + 8], ecx
je 0x40bac2
add eax, 0x10
cmp dword [eax], 0
jne 0x40b8a6
mov eax, 0x440b9b
push eax
push 0x440bbc
lea eax, [esp + 0x1c0]
push 0x100
push eax
call fcn.00401010
movsd xmm0, qword [esp + 0x38]
lea eax, [esp + 0x3c8]
add esp, 0x10
push eax
sub esp, 0x10
lea eax, [esp + 0x1cc]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x34]
movsd qword [esp], xmm0
push edi
push dword [ebx + 0x26c]
push eax
lea eax, [esp + 0xd8]
push eax
push dword [esp + 0x40]
push str.Object_TypeID__s___ResID__s___LangID__s____d___Size_d__Entropy_g__Compress_g_SHA256_s
push dword [esi + 4]
call fcn.0041a710
mov ecx, dword [esp + 0x48]
add esp, 0x30
mov eax, dword [ecx + 0x234]
cmp dword [eax + 8], 0
je 0x40baa5
lea eax, [esp + 0x2b8]
mov dword [esp + 0x30], 1
push eax
push 1
push ebx
call fcn.0040c280
mov eax, dword [ebx + 0x64]
add esp, 0xc
mov cl, byte [ebx + 0x16c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2b8]
mov dword [esp + 0x38], eax
lea eax, [ebx + 0x16c]
mov byte [esp + 0xb8], 0
test cl, cl
jg 0x40b983
mov eax, dword [ebx + 0x168]
push eax
test cl, cl
mov eax, 0x453e38
mov ecx, 0x440bbc
cmovg eax, ecx
push eax
lea eax, [esp + 0xc0]
push 0x100
push eax
call fcn.00401010
mov eax, dword [ebx + 0x168]
add esp, 0x10
cmp byte [ebx + 0x270], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x40], eax
lea eax, [ebx + 0x270]
mov byte [esp + 0x1b8], 0
jg 0x40ba06
cmp dword [str.Afrikaans], 0
mov eax, 0x489f88
je 0x40ba01
mov ecx, dword [ebx + 0x26c]
nop dword [eax]
cmp dword [eax + 8], ecx
je 0x40bac9
add eax, 0x10
cmp dword [eax], 0
jne 0x40b9f0
mov eax, 0x440b9b
push eax
push 0x440bbc
lea eax, [esp + 0x1c0]
push 0x100
push eax
call fcn.00401010
mov eax, dword [ebx + 0x26c]
push dword [esp + 0x20]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x1cc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
call fcn.00403550
movsd xmm0, qword [esp + 0xbc]
lea edx, [esp + 0x44]
mov ecx, dword [esp + 0x2c]
movsd qword [esp + 0x6c], xmm0
movups xmm0, xmmword [esp + 0xac]
mov dword [esp + 0x64], eax
push dword [ecx + 0x230]
mov eax, dword [ecx + 0x234]
movups xmmword [esp + 0x78], xmm0
push edx
movsd xmm0, qword [esp + 0xac]
push dword [esi]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x98], xmm0
mov eax, dword [eax + 8]
push ecx
call eax
mov ecx, dword [esp + 0x3c]
add esp, 0x24
mov eax, dword [ebx + 0x64]
add eax, 0xfffffffa
cmp eax, 0x12
ja case.0x40babb.7
movzx eax, byte [eax + 0x40bccc]
jmp dword [eax*4 + 0x40bcb8]
mov eax, dword [eax]
jmp 0x40b8bc
mov eax, dword [eax]
jmp 0x40ba06
mov esi, dword [esi + 4]
xor ebx, ebx
push dword [esp + 0x10]
mov dword [esp + 0x20], esi
call fcn.00403550
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x40bbe8
push dword [esp + 0x10]
call fcn.00403620
add esp, 4
cmp eax, edi
jl 0x40bbe8
xor edx, edx
test edi, edi
jle 0x40bb96
xor esi, esi
mov eax, dword [esp + 0x18]
mov cl, byte [edx + eax]
lea eax, [esi + 1]
cmp cl, 0x3c
cmovne eax, esi
cmp cl, 0x3e
mov esi, eax
lea eax, [ebx + 1]
cmovne eax, ebx
inc edx
mov ebx, eax
cmp edx, edi
jl 0x40bb11
test esi, esi
mov esi, dword [esp + 0x1c]
je 0x40bb96
test ebx, ebx
je 0x40bb96
push str.Manifest
push esi
call fcn.0041a220
mov ebx, dword [esp + 0x20]
push edi
push ebx
push dword [0x4aa998]
call fcn.00414f40
add esp, 0x14
test eax, eax
je 0x40bb70
push 0x27
push dword [esp + 0x18]
call fcn.00408650
add esp, 8
push edi
push ebx
push esi
call fcn.0040c210
push esi
call fcn.0041a5c0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0041c143
mov esp, ebp
pop ebp
ret
test esi, esi
je case.0x40babb.7
push str.Manifest
push esi
call fcn.0041a220
push str.Warning_:_Anomalous_Manifest___Not_XML
push esi
call fcn.0041a710
push edi
push dword [esp + 0x2c]
push esi
call fcn.0040c210
push esi
call fcn.0041a5c0
push 0x26
push dword [esp + 0x38]
call fcn.00408650
add esp, 0x28
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0041c143
mov esp, ebp
pop ebp
ret
push str.Manifest
push esi
call fcn.0041a220
push str.Warning_:_Could_Not_Load_Manifest_Resource_Data
push esi
call fcn.0041a710
push esi
call fcn.0041a5c0
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0041c143
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x28]
push dword [esp + 0x18]
push dword [ebp + 0x20]
push edi
push dword [ebp + 0x18]
push ebx
push dword [esp + 0x28]
push dword [esi + 4]
push ecx
call fcn.0040bce0
add esp, 0x24
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0041c143
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x28]
push dword [esp + 0x18]
push dword [ebp + 0x20]
push edi
push dword [ebp + 0x18]
push ebx
push dword [esp + 0x28]
push dword [esi + 4]
push ecx
call fcn.0040bf30
add esp, 0x24
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0041c143
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x28]
push dword [esp + 0x18]
push dword [ebp + 0x20]
push edi
push dword [ebp + 0x18]
push ebx
push dword [esp + 0x28]
push dword [esi + 4]
push ecx
call fcn.0040b320
add esp, 0x24
mov ecx, dword [esp + 0x4bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041c143
mov esp, ebp
pop ebp
ret