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

Disassembly:
jmp 0x53fcf0
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x94]
push esi
push edi
xor edi, edi
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], ecx
cmp dword [ebx], edi
je 0x5403d1
cmp dword [ebx + 4], edi
je 0x5403d1
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
call fcn.00414ef7
mov cl, byte [esp + 0x54]
mov al, cl
not al
test al, 1
jne 0x53fd67
test cl, 1
je 0x53fd46
mov esi, dword [esp + 0x48]
mov dword [esp + 0x48], edi
jmp 0x53fd48
xor esi, esi
lea eax, [esp + 0x13]
xor ecx, ecx
push eax
push ecx
mov eax, esp
mov byte [esp + 0x1b], cl
mov dword [eax], esi
call fcn.0040fe9d
mov edi, 1
jmp 0x54034e
mov eax, dword [esp + 0x48]
xor esi, esi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
cmp eax, ecx
je 0x53fdfc
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
ja 0x5403df
lea esi, [eax + eax*2]
shl esi, 3
cmp esi, 0x1000
jb 0x53fdbe
push esi
call fcn.00404818
add esp, 4
mov ebx, eax
jmp 0x53fdd5
test esi, esi
je 0x53fdd3
push esi
call fcn.00405e93
add esp, 4
mov dword [esp + 0x14], eax
mov ebx, eax
jmp 0x53fdd9
xor ebx, ebx
mov dword [esp + 0x14], ebx
push ebx
push dword [esp + 0x28]
lea eax, [esi + ebx]
push dword [esp + 0x20]
mov dword [esp + 0x2c], eax
call fcn.00406b18
mov esi, dword [esp + 0x20]
add esp, 0xc
mov ebx, dword [esp + 0x9c]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
push 0x2c
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
call fcn.00405e93
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
cmp byte [edx + 0x7c], 0
mov dword [esp + 0x40], eax
je 0x53fe5a
cmp byte [edx + 0x7d], 0
jne 0x53fe5a
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x53fe5a
cmp word [eax + 4], 0x11
je 0x54005d
mov eax, dword [esp + 0x20]
xor bl, bl
cmp dword [esp + 0x14], eax
je 0x54005d
jmp 0x53fe74
mov edx, dword [esp + 0xc]
movups xmm1, xmmword [esi]
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x68], xmm0
movaps xmm0, xmm1
movups xmmword [esp + 0x58], xmm1
psrldq xmm0, 4
psrldq xmm1, 0xc
movd ecx, xmm0
movd eax, xmm1
cmp ecx, eax
ja 0x53ffa3
jb 0x53feb4
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x60]
ja 0x53ffa3
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x34]
call fcn.00406df7
cmp byte [esp + 0x90], 0
je 0x540021
mov ecx, dword [esp + 0xc]
inc edi
call fcn.004113ba
mov ecx, eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub eax, edx
cmp eax, 0x36
jae 0x53fefe
push 0x36
push str.DIE_has_overlapping_ranges_in_DW_AT_ranges_attribute:
call fcn.0041214d
mov ecx, eax
jmp 0x53ff34
movups xmm0, xmmword [str.DIE_has_overlapping_ranges_in_DW_AT_ranges_attribute:]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x9345d0]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x9345e0]
movups xmmword [edx + 0x20], xmm0
mov eax, dword [0x9345f0]
mov dword [edx + 0x30], eax
mov ax, word [0x9345f4]
mov word [edx + 0x34], ax
add dword [ecx + 0xc], 0x36
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.0040acef
mov ecx, eax
add esp, 8
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub eax, edx
cmp eax, 5
jae 0x53ff61
push 5
push str._and
call fcn.0041214d
mov ecx, eax
jmp 0x53ff74
mov eax, dword [str._and]
mov dword [edx], eax
mov al, byte [0x934608]
mov byte [edx + 4], al
add dword [ecx + 0xc], 5
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.0040acef
add esp, 8
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
jb 0x53ff98
push 0xa
mov ecx, eax
call fcn.0040c4b4
jmp 0x54001f
mov byte [ecx], 0xa
inc dword [eax + 0xc]
jmp 0x54001f
mov ecx, edx
inc edi
call fcn.004113ba
mov ecx, eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub eax, edx
cmp eax, 0x16
jae 0x53ffca
push 0x16
push str.Invalid_address_range
call fcn.0041214d
mov ecx, eax
jmp 0x53ffea
movups xmm0, xmmword [str.Invalid_address_range]
movups xmmword [edx], xmm0
mov eax, dword [0x9345b4]
mov dword [edx + 0x10], eax
mov ax, word [0x9345b8]
mov word [edx + 0x14], ax
add dword [ecx + 0xc], 0x16
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.0040acef
mov ecx, eax
add esp, 8
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub eax, edx
cmp eax, 1
jae 0x540015
push 1
push 0x92406c
call fcn.0041214d
jmp 0x54001f
mov al, byte [0x92406c]
mov byte [edx], al
inc dword [ecx + 0xc]
mov bl, 1
add esi, 0x18
cmp esi, dword [esp + 0x20]
jne 0x53fe70
test bl, bl
je 0x54005d
mov ecx, dword [esp + 0xc]
push 2
push dword [esp + 0xa0]
call fcn.00404c28
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
jb 0x540057
push 0xa
mov ecx, eax
call fcn.0040c4b4
jmp 0x54005d
mov byte [ecx], 0xa
inc dword [eax + 0xc]
mov ebx, dword [esp + 0xa0]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.00407815
mov esi, dword [esp + 0x18]
cmp esi, dword [ebx + 0x14]
je 0x540110
mov ecx, dword [esp + 0xc]
inc edi
call fcn.004113ba
mov ecx, eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub eax, edx
cmp eax, 0x25
jae 0x5400a9
push 0x25
push str.DIEs_have_overlapping_address_ranges:
call fcn.0041214d
jmp 0x5400d2
movups xmm0, xmmword [str.DIEs_have_overlapping_address_ranges:]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x93461c]
movups xmmword [edx + 0x10], xmm0
mov eax, dword [0x93462c]
mov dword [edx + 0x20], eax
mov al, byte [0x934630]
mov byte [edx + 0x24], al
add dword [ecx + 0xc], 0x25
mov ecx, dword [esp + 0xc]
push 0
push dword [esp + 0xa0]
call fcn.00404c28
push 0
add esi, 0x10
push esi
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00404c28
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
jb 0x540108
push 0xa
mov ecx, eax
call fcn.0040c4b4
jmp 0x540114
mov byte [ecx], 0xa
inc dword [eax + 0xc]
jmp 0x540114
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x14], eax
je 0x540202
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
je 0x540202
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x54015b
cmp word [eax + 4], 0x2e
jne 0x54015b
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x54015b
cmp word [eax + 4], 0x2e
je 0x540202
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.0040f20e
test al, al
jne 0x540202
mov ecx, esi
inc edi
call fcn.004113ba
mov edx, eax
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
sub eax, ecx
cmp eax, 0x3c
jae 0x540196
push 0x3c
push str.DIE_address_ranges_are_not_contained_in_its_parents_ranges:
mov ecx, edx
call fcn.0041214d
jmp 0x5401cf
movups xmm0, xmmword [str.DIE_address_ranges_are_not_contained_in_its_parents_ranges:]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x93464c]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x93465c]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [0x93466c]
movq qword [ecx + 0x30], xmm0
mov eax, dword [0x934674]
mov dword [ecx + 0x38], eax
add dword [edx + 0xc], 0x3c
push 0
push ebx
mov ecx, esi
call fcn.00404c28
push 2
push dword [esp + 0xa0]
mov ecx, esi
call fcn.00404c28
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
jb 0x5401fc
push 0xa
mov ecx, eax
call fcn.0040c4b4
jmp 0x540202
mov byte [ecx], 0xa
inc dword [eax + 0xc]
mov ecx, dword [esp + 0x9c]
lea eax, [esp + 0x24]
push eax
call fcn.0040fc68
mov ecx, dword [esp + 0x9c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x1c], edx
call fcn.00415c99
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
nop
cmp eax, ebx
jne 0x540248
cmp ecx, esi
je 0x540282
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.004047c8
add edi, eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x70]
push eax
call fcn.0040d044
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x540240
mov eax, dword [esp + 0x40]
push dword [eax + 4]
lea eax, [esp + 0x44]
push eax
mov ecx, eax
call fcn.00412f21
push 0x2c
push dword [esp + 0x44]
call fcn.004036ca
mov esi, dword [esp + 0x3c]
add esp, 8
test esi, esi
je 0x540308
mov ecx, dword [esp + 0x3c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x5402e6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x540397
push ecx
push esi
call fcn.004036ca
add esp, 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x540351
mov ecx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
shl ecx, 3
cmp ecx, 0x1000
jb 0x540347
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x540397
mov ebx, edx
push ecx
push ebx
call fcn.004036ca
add esp, 8
test byte [esp + 0x54], 1
jne 0x5403b5
mov esi, dword [esp + 0x48]
test esi, esi
je 0x5403c3
mov ecx, dword [esp + 0x50]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x54039d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x54039d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004036ca
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x8c
ret 8
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x5403c3
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x8c
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x8c
ret 8
call fcn.004104b5
int3