Function at 0x49e350
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 0x49e3d7
mov eax, dword [edx + 0x250]
mov ecx, dword [edx + 0x25c]
test ecx, ecx
je 0x49ea9e
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 0x49ea40
lea ebx, [eax + ebx*8]
mov edx, dword [esp]
jmp 0x49eaa6
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 0x49e387
lea ecx, [esp + 0x30]
push eax
mov edi, edx
push dword [edx + 0x3c]
call fcn.00489330
test byte [esp + 0x38], 1
jne 0x49e909
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49e9a2
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 0x49e45a
test byte [esp + 0x14], 1
jne 0x49e9e9
add esi, 0x10
cmp esi, edi
mov ecx, dword [esp + 0x18]
je 0x49e9e4
inc edx
cmp word [esi + 0xe], 0
je 0x49e44b
movzx eax, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x49e44b
mov edi, dword [ecx + 0x38]
mov eax, ecx
mov ebx, dword [ecx + 0x220]
test ebx, ebx
mov dword [esp], edx
je 0x49e4b4
lea eax, [edi + 0x1c]
lea ecx, [esp + 0x84]
push eax
call fcn.00483120
mov ecx, dword [esp + 0x84]
test byte [esp + 0x8c], 1
jne 0x49e4ba
sub ebx, ecx
mov eax, ebx
mov ecx, 0xcccccccd
mul ecx
mov ebx, edx
shr ebx, 5
mov eax, dword [esp]
jmp 0x49e4d2
xor eax, eax
xor ebx, ebx
jmp 0x49e4d2
mov dword [esp + 0x84], 0
xor ebx, ebx
test ecx, ecx
je 0x49e4d0
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 0x49e532
mov ecx, dword [esp + 0x28]
push edi
call fcn.0045ed10
mov ebx, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
cmp ebx, edi
jae 0x49e5de
mov edx, dword [esp]
mov dword [ebx], edx
add ebx, 4
jmp 0x49e84e
lea ebx, [esp + 0x78]
mov ecx, ebx
mov edi, dword [esp + 0x18]
mov edx, edi
push dword [esp]
call fcn.004955e0
add esp, 4
push ebx
push str.unable_to_get_address_of_symbol_
lea ebx, [esp + 0x74]
push ebx
call fcn.0054f9f8
add esp, 0xc
mov ecx, ebx
push 0x560200
call fcn.0054f9a4
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 0x49e59c
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.0054f518
add esp, 8
movzx eax, byte [esp + 0xb8]
test al, 1
je 0x49e664
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
jmp 0x49e66d
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 0x49eeb5
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 0x49e7a5
cmp ecx, 0x40000000
jae 0x49eeba
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 0x49e7a7
shr eax, 1
lea edx, [esp + 0xb9]
lea ecx, [esp + 0x40]
push eax
push edx
call fcn.0054f9aa
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.005394d0
test byte [esp + 0xa8], 1
jne 0x49e732
test byte [esp + 0xb8], 1
mov edi, dword [esp + 0x10]
jne 0x49e74f
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x49e6ec
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x40], 1
jne 0x49e772
test byte [esp + 0x6c], 1
jne 0x49e789
test byte [esp + 0x78], 1
je 0x49e714
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 0x49e440
jmp 0x49e862
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 0x49e6dc
push dword [esp + 0xc0]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jne 0x49e6e7
jmp 0x49e6ec
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x6c], 1
je 0x49e6fe
push dword [esp + 0x74]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
jne 0x49e705
jmp 0x49e714
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 0x49e802
add edi, 0xfffffffc
cmp edi, 0x1c
jb 0x49e7df
mov dword [esp + 0x64], edi
add dword [esp + 8], eax
mov edi, ebx
sub edi, dword [esp + 8]
cmp edi, 0x20
jae 0x49e883
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 0x49e7f0
jmp 0x49e806
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 0x49e84e
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 0x49e440
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x49e440
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp]
jmp 0x49e440
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 0x49e8d0
mov eax, dword [esp + 0x98]
cmp dword [esp + 0x64], eax
mov edx, dword [esp]
mov ebx, dword [esp + 4]
jne 0x49e7f0
jmp 0x49e806
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.0054f518
add esp, 8
mov ecx, ebx
push str.unable_to_read_the_symbol_table:
push 0
call fcn.0054f9b6
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.005394d0
test byte [esp + 0x50], 1
jne 0x49e9b5
test byte [esp + 0x78], 1
jne 0x49e9c8
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x49e9a2
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
mov dword [esp + 0xc], 0
test byte [esp + 0x38], 1
jne 0x49e9f6
jmp 0x49ea0b
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
je 0x49e992
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jne 0x49e99d
jmp 0x49e9a2
mov ebx, 2
test bl, 1
sete bl
test byte [esp + 0x38], 1
je 0x49ea0b
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], 0
test ecx, ecx
je 0x49ea0b
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
mov edx, dword [esp + 0x18]
jne 0x49e387
test byte [esp + 0xc], 1
jne 0x49eead
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [esp + 0x68]
je 0x49eead
push eax
call sub.msvcrt.dll_free
add esp, 4
jmp 0x49eead
mov esi, dword [esp + 0x14]
mov dword [esp + 8], 1
mov edx, dword [esp]
and ecx, esi
cmp ecx, 0xffffffff
mov ecx, edx
je 0x49ea9e
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 0x49eaa6
jmp 0x49ea4f
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 0x49eead
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x49eead
cmp byte [ebp + 0x14], 0
jne 0x49eb39
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 0x49eb04
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 0x49eae0
jmp 0x49eead
mov ecx, ebx
push 4
push edx
push dword [esp + 0x70]
call fcn.0054f2cc
mov eax, dword [ebx + 4]
jmp 0x49eaea
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 0x49eead
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.004959c0
mov edi, dword [ebx + 0x220]
mov dword [esp], 0
test edi, edi
mov dword [esp + 4], edi
je 0x49ebc0
mov edx, dword [ebx + 0x22c]
mov ebx, dword [ebx + 0x238]
test ebx, ebx
je 0x49ec20
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 0x49ebc4
lea ecx, [edx + ecx*4]
mov ebx, dword [esp + 0x10]
jmp 0x49ec26
xor eax, eax
jmp 0x49ec42
mov dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0xc], 0xfffff000
je 0x49ec20
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 0x49ec26
jmp 0x49ebd0
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 0x49ec42
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.0049dca0
test byte [esp + 0x70], 1
jne 0x49ecf0
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x6c], eax
jne 0x49eb2c
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
lea edx, [eax + 1]
cmp edx, dword [edi + 8]
jbe 0x49eb20
mov ecx, edi
push 4
push edx
push dword [esp + 0x70]
call fcn.0054f2cc
mov eax, dword [edi + 4]
jmp 0x49eb20
lea esi, [esp + 0x50]
mov ecx, esi
mov edx, ebx
push dword [esp + 8]
call fcn.004955e0
add esp, 4
lea ebx, [esp + 0xa8]
push esi
push str.unable_to_get_section_of_symbol_
push ebx
call fcn.0054f9f8
add esp, 0xc
mov ecx, ebx
push 0x560200
call fcn.0054f9a4
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 0x49ed5d
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.0054f518
add esp, 8
movzx eax, byte [esp + 0x40]
test al, 1
je 0x49ed90
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
jmp 0x49ed9a
shr eax, 1
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x41]
lea ecx, [esp + 0x78]
push eax
push edx
call fcn.0054f9aa
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.005394d0
test byte [esp + 0x30], 1
jne 0x49ee2a
test byte [esp + 0x40], 1
jne 0x49ee3d
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x49ee06
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x78], 1
jne 0x49ee56
test byte [esp + 0xa8], 1
jne 0x49ee6f
test byte [esp + 0x50], 1
jne 0x49ee85
test byte [esp + 0x70], 1
jne 0x49ee98
jmp 0x49eead
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x40], 1
je 0x49edf6
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x49ee01
jmp 0x49ee06
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xa8], 1
je 0x49ee17
push dword [esp + 0xb0]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x49ee1e
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x70], 1
je 0x49eead
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], 0
test ecx, ecx
je 0x49eead
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00425990
call fcn.004077b0
int3