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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf8
lea eax, [ecx + 0xc]
mov dword [esp + 0x68], eax
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [esp + 0x2c], ecx
mov dword [ecx + 8], 0xd
cmp byte [edx + 0x260], 0
mov dword [esp + 0x18], edx
je 0x49e397
mov eax, dword [edx + 0x250]
mov ecx, dword [edx + 0x25c]
test ecx, ecx
je 0x49ea5e
mov esi, dword [ebp + 8]
lea edx, [esi + esi*8]
lea edi, [esi + edx*4]
mov dword [esp], ecx
dec ecx
mov dword [esp + 4], ecx
and edi, ecx
lea ebx, [edi + edi*2]
mov edx, dword [eax + ebx*8 + 4]
mov dword [esp + 0x14], edx
xor edx, dword [ebp + 0xc]
mov ecx, dword [eax + ebx*8]
mov esi, ecx
xor esi, dword [ebp + 8]
or esi, edx
jne 0x49ea00
lea ebx, [eax + ebx*8]
mov edx, dword [esp]
jmp 0x49ea66
lea esi, [edx + 0x250]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov byte [edx + 0x260], 1
mov eax, dword [edx + 0x220]
test eax, eax
je 0x49e347
lea ecx, [esp + 0x30]
push eax
mov edi, edx
push dword [edx + 0x3c]
call fcn.004892f0
test byte [esp + 0x38], 1
jne 0x49e8c9
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49e962
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x30]
shl eax, 4
add eax, esi
mov edx, 0xffffffff
mov dword [esp + 0xc], 0
mov ecx, edi
mov edi, eax
mov dword [esp + 0x10], eax
jmp 0x49e41a
test byte [esp + 0x14], 1
jne 0x49e9a9
add esi, 0x10
cmp esi, edi
mov ecx, dword [esp + 0x18]
je 0x49e9a4
inc edx
cmp word [esi + 0xe], 0
je 0x49e40b
movzx eax, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x49e40b
mov edi, dword [ecx + 0x38]
mov eax, ecx
mov ebx, dword [ecx + 0x220]
test ebx, ebx
mov dword [esp], edx
je 0x49e474
lea eax, [edi + 0x1c]
lea ecx, [esp + 0x84]
push eax
call fcn.004830e0
mov ecx, dword [esp + 0x84]
test byte [esp + 0x8c], 1
jne 0x49e47a
sub ebx, ecx
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
mov ebx, edx
shr ebx, 5
mov eax, dword [esp]
jmp 0x49e492
xor eax, eax
xor ebx, ebx
jmp 0x49e492
mov dword [esp + 0x84], 0
xor ebx, ebx
test ecx, ecx
je 0x49e490
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ebx
mov eax, dword [edi]
sub esp, 0xc
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
lea edi, [esp + 0x5c]
mov ecx, edi
call dword [eax + 0x2c]
movzx eax, byte [esp + 0x58]
mov byte [esp + 0x14], al
test al, 1
jne 0x49e4f2
mov ecx, dword [esp + 0x28]
push edi
call fcn.0045ecd0
mov ebx, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
cmp ebx, edi
jae 0x49e59e
mov edx, dword [esp]
mov dword [ebx], edx
add ebx, 4
jmp 0x49e80e
lea ebx, [esp + 0x78]
mov ecx, ebx
mov edi, dword [esp + 0x18]
mov edx, edi
push dword [esp]
call fcn.004955a0
add esp, 4
push ebx
push str.unable_to_get_address_of_symbol_
lea ebx, [esp + 0x74]
push ebx
call fcn.0054ab94
add esp, 0xc
mov ecx, ebx
push 0x55b200
call fcn.0054ab40
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
xor eax, eax
test byte [esp + 0x58], 1
je 0x49e55c
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0xb8]
test al, 1
je 0x49e624
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
jmp 0x49e62d
mov dword [esp + 0x20], eax
mov ecx, eax
add ecx, 8
mov eax, dword [ecx]
mov edx, ebx
mov dword [esp + 4], eax
sub edx, eax
mov dword [esp + 8], edx
sar edx, 2
mov eax, edx
mov dword [esp + 0x1c], edx
inc edx
cmp edx, 0x40000000
jae 0x49ee75
sub edi, dword [esp + 4]
mov ecx, edi
sar ecx, 1
cmp ecx, edx
cmovbe ecx, edx
cmp edi, 0x7ffffffc
mov eax, 0x3fffffff
cmovae ecx, eax
test ecx, ecx
mov dword [esp + 0xc4], ecx
je 0x49e765
cmp ecx, 0x40000000
jae 0x49ee7a
lea eax, [ecx*4]
push eax
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 8]
mov dword [esp + 4], edx
mov ebx, dword [ecx + 0xc]
jmp 0x49e767
shr eax, 1
lea edx, [esp + 0xb9]
lea ecx, [esp + 0x40]
push eax
push edx
call fcn.0054ab46
mov ecx, dword [eax + 8]
mov dword [esp + 0xb0], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0xa8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x94], 0x104
lea eax, [esp + 0xa8]
mov dword [esp + 0x84], eax
mov ecx, edi
lea eax, [esp + 0x84]
push eax
call fcn.00539490
test byte [esp + 0xa8], 1
jne 0x49e6f2
test byte [esp + 0xb8], 1
mov edi, dword [esp + 0x10]
jne 0x49e70f
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x49e6ac
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x40], 1
jne 0x49e732
test byte [esp + 0x6c], 1
jne 0x49e749
test byte [esp + 0x78], 1
je 0x49e6d4
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov al, 1
mov dword [esp + 0xc], eax
mov ebx, 1
mov edx, dword [esp]
test byte [esp + 0x58], 1
je 0x49e400
jmp 0x49e822
push dword [esp + 0xb0]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xb8], 1
mov edi, dword [esp + 0x10]
je 0x49e69c
push dword [esp + 0xc0]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jne 0x49e6a7
jmp 0x49e6ac
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x6c], 1
je 0x49e6be
push dword [esp + 0x74]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
jne 0x49e6c5
jmp 0x49e6d4
xor eax, eax
mov edi, dword [esp + 0x1c]
lea ecx, [eax + edi*4]
mov edx, dword [esp]
mov dword [eax + edi*4], edx
mov edi, ebx
sub edi, dword [esp + 4]
mov dword [esp + 0x24], eax
je 0x49e7c2
add edi, 0xfffffffc
cmp edi, 0x1c
jb 0x49e79f
mov dword [esp + 0x64], edi
add dword [esp + 8], eax
mov edi, ebx
sub edi, dword [esp + 8]
cmp edi, 0x20
jae 0x49e843
mov edi, ebx
mov ebx, dword [esp + 4]
nop word cs:[eax + eax]
mov eax, dword [edi - 4]
add edi, 0xfffffffc
mov dword [ecx - 4], eax
add ecx, 0xfffffffc
cmp edi, ebx
jne 0x49e7b0
jmp 0x49e7c6
mov ebx, dword [esp + 4]
mov dword [esp + 4], ebx
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0x24]
lea eax, [edi + eax*4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
lea ebx, [edi + eax*4 + 4]
mov eax, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 0xc], ebx
mov edi, dword [esp + 8]
mov dword [eax + 0x10], edi
test ecx, ecx
je 0x49e80e
push ecx
call sub.libc.dll_operator_delete_void_
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 4]
add esp, 4
mov edi, dword [esp + 0x10]
mov dword [eax + 0xc], ebx
xor ebx, ebx
test byte [esp + 0x58], 1
je 0x49e400
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x49e400
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp]
jmp 0x49e400
mov eax, dword [esp + 0x64]
shr eax, 2
inc eax
mov dword [esp + 0x64], eax
and eax, 0xfffffff8
mov dword [esp + 0x98], eax
lea eax, [eax*4]
sub ecx, eax
mov edi, ebx
sub edi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea eax, [edx + eax*4]
add eax, 0xfffffff0
mov edx, dword [esp + 0x98]
neg edx
mov dword [esp + 8], edx
xor edx, edx
nop word cs:[eax + eax]
movups xmm0, xmmword [ebx + edx*4 - 0x20]
movups xmm1, xmmword [ebx + edx*4 - 0x10]
movups xmmword [eax + edx*4], xmm1
movups xmmword [eax + edx*4 - 0x10], xmm0
add edx, 0xfffffff8
cmp dword [esp + 8], edx
jne 0x49e890
mov eax, dword [esp + 0x98]
cmp dword [esp + 0x64], eax
mov edx, dword [esp]
mov ebx, dword [esp + 4]
jne 0x49e7b0
jmp 0x49e7c6
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
lea ebx, [esp + 0x78]
push eax
push ebx
call fcn.0054a6b4
add esp, 8
mov ecx, ebx
push str.unable_to_read_the_symbol_table:
push 0
call fcn.0054ab52
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x50], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x94], 0x104
lea eax, [esp + 0x50]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
mov ecx, dword [esp + 0x18]
push eax
call fcn.00539490
test byte [esp + 0x50], 1
jne 0x49e975
test byte [esp + 0x78], 1
jne 0x49e988
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x49e962
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
mov dword [esp + 0xc], 0
test byte [esp + 0x38], 1
jne 0x49e9b6
jmp 0x49e9cb
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
je 0x49e952
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jne 0x49e95d
jmp 0x49e962
mov ebx, 2
test bl, 1
sete bl
test byte [esp + 0x38], 1
je 0x49e9cb
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], 0
test ecx, ecx
je 0x49e9cb
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
mov edx, dword [esp + 0x18]
jne 0x49e347
test byte [esp + 0xc], 1
jne 0x49ee6d
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [esp + 0x68]
je 0x49ee6d
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
jmp 0x49ee6d
mov esi, dword [esp + 0x14]
mov dword [esp + 8], 1
mov edx, dword [esp]
and ecx, esi
cmp ecx, 0xffffffff
mov ecx, edx
je 0x49ea5e
mov ebx, edi
mov edx, dword [esp + 8]
add ebx, edx
inc edx
mov dword [esp + 8], edx
and ebx, dword [esp + 4]
mov edi, ebx
lea edx, [ebx + ebx*2]
mov dword [esp], edx
mov esi, dword [eax + edx*8]
mov dword [esp + 0x14], esi
mov ebx, dword [eax + edx*8 + 4]
mov esi, ebx
xor ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
mov edx, ecx
mov ebx, dword [esp + 0x14]
mov ecx, ebx
xor ebx, dword [ebp + 8]
or ebx, dword [esp + 0x10]
mov ebx, dword [esp]
lea ebx, [eax + ebx*8]
je 0x49ea66
jmp 0x49ea0f
lea edx, [ecx + ecx*2]
lea ebx, [eax + edx*8]
mov edx, ecx
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
cmp ebx, eax
je 0x49ee6d
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x49ee6d
cmp byte [ebp + 0x14], 0
jne 0x49eaf9
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0x2c]
nop word [eax + eax]
mov edi, dword [esi]
lea edx, [eax + 1]
cmp edx, dword [ebx + 8]
ja 0x49eac4
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edi
mov eax, dword [ebx + 4]
inc eax
mov dword [ebx + 4], eax
add esi, 4
cmp esi, dword [esp + 0x14]
jne 0x49eaa0
jmp 0x49ee6d
mov ecx, ebx
push 4
push edx
push dword [esp + 0x70]
call fcn.0054a468
mov eax, dword [ebx + 4]
jmp 0x49eaaa
mov ecx, dword [edi]
mov edx, dword [esp + 8]
mov dword [ecx + eax*4], edx
inc dword [edi + 4]
add esi, 4
cmp esi, dword [esp + 0x14]
je 0x49ee6d
mov eax, dword [esi]
lea ecx, [esp + 0xc8]
mov dword [esp + 8], eax
push eax
mov ebx, dword [esp + 0x1c]
push dword [ebx + 0x220]
push dword [ebx + 0x3c]
call fcn.00495980
mov edi, dword [ebx + 0x220]
mov dword [esp], 0
test edi, edi
mov dword [esp + 4], edi
je 0x49eb80
mov edx, dword [ebx + 0x22c]
mov ebx, dword [ebx + 0x238]
test ebx, ebx
je 0x49ebe0
mov ecx, edi
shr ecx, 4
mov eax, edi
shr eax, 9
xor eax, ecx
mov dword [esp + 0x10], ebx
lea ecx, [ebx - 1]
mov dword [esp + 0x20], ecx
and eax, ecx
lea ecx, [eax + eax*2]
mov ebx, dword [edx + ecx*4]
mov dword [esp + 0xc], ebx
cmp ebx, edi
jne 0x49eb84
lea ecx, [edx + ecx*4]
mov ebx, dword [esp + 0x10]
jmp 0x49ebe6
xor eax, eax
jmp 0x49ec02
mov dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0xc], 0xfffff000
je 0x49ebe0
mov ecx, dword [esp + 0x1c]
add eax, ecx
inc ecx
mov dword [esp + 0x1c], ecx
and eax, dword [esp + 0x20]
lea ecx, [eax + eax*2]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
cmp edx, edi
mov edx, dword [esp + 0x28]
je 0x49ebe6
jmp 0x49eb90
lea eax, [ebx + ebx*2]
lea ecx, [edx + eax*4]
lea eax, [ebx + ebx*2]
lea edx, [edx + eax*4]
mov eax, 0
cmp ecx, edx
mov ebx, dword [esp + 0x18]
je 0x49ec02
mov eax, dword [ecx + 4]
mov dword [esp], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0xc8]
mov edx, dword [ebx + 0x3c]
mov edi, dword [esp]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0
mov byte [esp + 0xe0], 1
mov dword [esp + 0xe8], 0
sub esp, 0x2c
movups xmm0, xmmword [esp + 0xfc]
movups xmm1, xmmword [esp + 0x10c]
movups xmmword [esp + 0x1c], xmm1
movups xmmword [esp + 0xc], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
lea ecx, [esp + 0x98]
call fcn.0049dc60
test byte [esp + 0x70], 1
jne 0x49ecb0
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x6c], eax
jne 0x49eaec
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
lea edx, [eax + 1]
cmp edx, dword [edi + 8]
jbe 0x49eae0
mov ecx, edi
push 4
push edx
push dword [esp + 0x70]
call fcn.0054a468
mov eax, dword [edi + 4]
jmp 0x49eae0
lea esi, [esp + 0x50]
mov ecx, esi
mov edx, ebx
push dword [esp + 8]
call fcn.004955a0
add esp, 4
lea ebx, [esp + 0xa8]
push esi
push str.unable_to_get_section_of_symbol_
push ebx
call fcn.0054ab94
add esp, 0xc
mov ecx, ebx
push 0x55b200
call fcn.0054ab40
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x78], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
xor eax, eax
test byte [esp + 0x70], 1
je 0x49ed1d
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x40]
test al, 1
je 0x49ed50
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
jmp 0x49ed5a
shr eax, 1
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x41]
lea ecx, [esp + 0x78]
push eax
push edx
call fcn.0054ab46
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x94], 0x104
lea eax, [esp + 0x30]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
mov ecx, esi
push eax
call fcn.00539490
test byte [esp + 0x30], 1
jne 0x49edea
test byte [esp + 0x40], 1
jne 0x49edfd
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x49edc6
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x78], 1
jne 0x49ee16
test byte [esp + 0xa8], 1
jne 0x49ee2f
test byte [esp + 0x50], 1
jne 0x49ee45
test byte [esp + 0x70], 1
jne 0x49ee58
jmp 0x49ee6d
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x40], 1
je 0x49edb6
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x49edc1
jmp 0x49edc6
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xa8], 1
je 0x49edd7
push dword [esp + 0xb0]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x49edde
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x70], 1
je 0x49ee6d
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], 0
test ecx, ecx
je 0x49ee6d
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00425980
call fcn.00407780
int3