Function at 0x51c900
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
mov esi, edx
lea eax, [ecx + 0xc]
mov dword [esp + 0x68], eax
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0xd
cmp byte [edx + 0x260], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], ecx
je 0x51c990
mov eax, dword [esi + 0x250]
mov ebx, dword [esi + 0x25c]
test ebx, ebx
je 0x51d028
mov ecx, dword [ebp + 8]
lea edx, [ecx + ecx*8]
lea edi, [ecx + edx*4]
mov dword [esp + 4], ebx
lea ecx, [ebx - 1]
mov dword [esp], ecx
and edi, ecx
lea edx, [edi + edi*2]
mov ebx, dword [eax + edx*8 + 4]
mov dword [esp + 0x14], ebx
xor ebx, dword [ebp + 0xc]
mov ecx, dword [eax + edx*8]
mov esi, ecx
xor esi, dword [ebp + 8]
or esi, ebx
jne 0x51cfd9
lea edx, [eax + edx*8]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 4]
jmp 0x51d02e
lea ebx, [esi + 0x250]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov byte [esi + 0x260], 1
mov eax, dword [esi + 0x220]
test eax, eax
je 0x51c939
mov edi, ecx
lea ecx, [esp + 0x30]
push eax
push dword [esi + 0x3c]
call fcn.00507460
test byte [esp + 0x38], 1
jne 0x51cea9
mov eax, dword [esp + 0x34]
test eax, eax
je 0x51cf40
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x30]
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*8]
mov edx, 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], ecx
jmp 0x51ca1a
test byte [esp + 0x14], 1
mov ecx, dword [esp + 0x28]
jne 0x51cf81
add ebx, 0x18
cmp ebx, ecx
je 0x51cf7c
inc edx
cmp word [ebx + 6], 0
je 0x51ca0f
movzx eax, byte [ebx + 4]
and al, 0xf
cmp al, 2
jne 0x51ca0f
mov eax, esi
mov esi, dword [esi + 0x38]
mov edi, dword [eax + 0x220]
test edi, edi
mov dword [esp + 4], edx
je 0x51ca6b
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x84]
push eax
call fcn.00500940
mov ecx, dword [esp + 0x84]
test byte [esp + 0x8c], 1
jne 0x51ca71
sub edi, ecx
shr edi, 6
mov eax, dword [esp + 4]
jmp 0x51ca89
xor eax, eax
xor edi, edi
jmp 0x51ca89
mov dword [esp + 0x84], 0
xor edi, edi
test ecx, ecx
je 0x51ca87
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edi
mov eax, dword [esi]
sub esp, 0xc
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
lea esi, [esp + 0x5c]
mov ecx, esi
call dword [eax + 0x2c]
movzx eax, byte [esp + 0x58]
mov byte [esp + 0x14], al
test al, 1
jne 0x51caea
mov ecx, dword [esp + 0x24]
push esi
call fcn.0045ecd0
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
cmp edi, esi
jae 0x51cb9b
mov edx, dword [esp + 4]
mov dword [edi], edx
add edi, 4
jmp 0x51cdeb
lea edi, [esp + 0x78]
mov ecx, edi
mov esi, dword [esp + 0x10]
mov edx, esi
push dword [esp + 4]
call fcn.005139c0
add esp, 4
push edi
push str.unable_to_get_address_of_symbol_
lea edi, [esp + 0x74]
push edi
call fcn.0054ab94
add esp, 0xc
mov ecx, edi
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 0x51cb55
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
mov edi, dword [esp + 0x2c]
je 0x51cc1e
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
jmp 0x51cc27
mov dword [esp + 0x1c], eax
mov ecx, eax
add ecx, 8
mov eax, dword [ecx]
mov edx, edi
mov dword [esp], eax
sub edx, eax
mov dword [esp + 8], edx
sar edx, 2
mov eax, edx
mov dword [esp + 0x18], edx
inc edx
cmp edx, 0x40000000
jae 0x51d429
sub esi, dword [esp]
mov ecx, esi
sar ecx, 1
cmp ecx, edx
cmovbe ecx, edx
cmp esi, 0x7ffffffc
mov eax, 0x3fffffff
cmovae ecx, eax
test ecx, ecx
mov dword [esp + 0xc4], ecx
je 0x51cd46
cmp ecx, 0x40000000
jae 0x51d42e
lea eax, [ecx*4]
push eax
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
mov dword [esp], edx
mov edi, dword [ecx + 0xc]
jmp 0x51cd48
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, esi
lea eax, [esp + 0x84]
push eax
call fcn.00539490
test byte [esp + 0xa8], 1
jne 0x51cce5
test byte [esp + 0xb8], 1
jne 0x51ccfe
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x51cca2
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x40], 1
jne 0x51cd1a
test byte [esp + 0x6c], 1
jne 0x51cd2d
test byte [esp + 0x78], 1
je 0x51ccc6
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov al, 1
mov dword [esp + 0xc], eax
mov eax, 1
mov edx, dword [esp + 4]
test byte [esp + 0x58], 1
je 0x51ca00
jmp 0x51ce03
push dword [esp + 0xb0]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xb8], 1
je 0x51cc92
push dword [esp + 0xc0]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jne 0x51cc9d
jmp 0x51cca2
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x6c], 1
je 0x51ccb0
push dword [esp + 0x74]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
jne 0x51ccb7
jmp 0x51ccc6
xor eax, eax
mov esi, dword [esp + 0x18]
lea ecx, [eax + esi*4]
mov edx, dword [esp + 4]
mov dword [eax + esi*4], edx
mov esi, edi
sub esi, dword [esp]
mov dword [esp + 0x20], eax
je 0x51cda2
add esi, 0xfffffffc
cmp esi, 0x1c
jb 0x51cd80
mov dword [esp + 0x64], esi
add dword [esp + 8], eax
mov esi, edi
sub esi, dword [esp + 8]
cmp esi, 0x20
jae 0x51ce2b
mov esi, edi
mov edi, dword [esp]
nop word cs:[eax + eax]
mov eax, dword [esi - 4]
add esi, 0xfffffffc
mov dword [ecx - 4], eax
add ecx, 0xfffffffc
cmp esi, edi
jne 0x51cd90
jmp 0x51cda5
mov edi, dword [esp]
mov dword [esp], edi
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0x20]
lea eax, [esi + eax*4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
lea edi, [esi + eax*4 + 4]
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp]
mov dword [eax + 0xc], edi
mov esi, dword [esp + 8]
mov dword [eax + 0x10], esi
test ecx, ecx
je 0x51cdeb
push ecx
mov esi, edx
call sub.libc.dll_operator_delete_void_
mov eax, dword [esp + 0x20]
mov edx, esi
add esp, 4
mov esi, dword [esp + 0x10]
mov dword [eax + 0xc], edi
xor eax, eax
mov edi, dword [esp + 0x2c]
test byte [esp + 0x58], 1
je 0x51ca00
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x51ca00
mov dword [esp], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp]
mov edx, dword [esp + 4]
jmp 0x51ca00
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 esi, edi
sub esi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea eax, [edx + eax*4]
add eax, 0xfffffff0
mov edx, dword [esp + 0x98]
neg edx
mov dword [esp + 8], edx
xor edx, edx
nop dword [eax + eax]
movups xmm0, xmmword [edi + edx*4 - 0x20]
movups xmm1, xmmword [edi + 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 0x51ce70
mov eax, dword [esp + 0x98]
cmp dword [esp + 0x64], eax
mov edx, dword [esp + 4]
mov edi, dword [esp]
jne 0x51cd90
jmp 0x51cda5
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, esi
push eax
call fcn.00539490
test byte [esp + 0x50], 1
jne 0x51cf4d
test byte [esp + 0x78], 1
jne 0x51cf60
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x51cf40
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
xor edx, edx
test byte [esp + 0x38], 1
jne 0x51cf91
jmp 0x51cfae
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
je 0x51cf30
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jne 0x51cf3b
jmp 0x51cf40
mov eax, 2
test al, 1
sete bl
mov edx, dword [esp + 0xc]
test byte [esp + 0x38], 1
je 0x51cfae
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], 0
test ecx, ecx
je 0x51cfae
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
call dword [eax + 4]
mov edx, dword [esp + 0xc]
test bl, bl
jne 0x51c939
test dl, 1
jne 0x51d421
mov eax, dword [edi]
cmp eax, dword [esp + 0x68]
je 0x51d421
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
jmp 0x51d421
mov dword [esp + 8], edi
mov edi, 1
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 4]
and ecx, dword [esp + 0x14]
cmp ecx, 0xffffffff
je 0x51d028
mov edx, dword [esp + 8]
add edx, edi
inc edi
and edx, dword [esp]
mov dword [esp + 8], edx
lea edx, [edx + edx*2]
mov ebx, dword [eax + edx*8]
mov esi, dword [eax + edx*8 + 4]
mov dword [esp + 0x14], esi
xor esi, dword [ebp + 0xc]
mov ecx, ebx
xor ebx, dword [ebp + 8]
or ebx, esi
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x10]
lea edx, [eax + edx*8]
je 0x51d02e
jmp 0x51cfea
lea edx, [ebx + ebx*2]
lea edx, [eax + edx*8]
lea ecx, [ebx + ebx*2]
lea eax, [eax + ecx*8]
cmp edx, eax
mov edi, dword [esp + 0x2c]
je 0x51d421
mov ebx, dword [edx + 8]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x14], eax
cmp ebx, eax
je 0x51d421
cmp byte [ebp + 0x14], 0
jne 0x51d0bb
mov eax, dword [edi + 4]
nop dword [eax + eax]
mov esi, dword [ebx]
lea edx, [eax + 1]
cmp edx, dword [edi + 8]
ja 0x51d084
mov ecx, dword [edi]
mov dword [ecx + eax*4], esi
mov eax, dword [edi + 4]
inc eax
mov dword [edi + 4], eax
add ebx, 4
cmp ebx, dword [esp + 0x14]
jne 0x51d060
jmp 0x51d421
mov ecx, edi
push 4
push edx
push dword [esp + 0x70]
call fcn.0054a468
mov eax, dword [edi + 4]
jmp 0x51d06a
mov ecx, dword [esi]
mov edx, dword [esp + 8]
mov dword [ecx + eax*4], edx
inc dword [esi + 4]
add ebx, 4
cmp ebx, dword [esp + 0x14]
mov esi, edi
je 0x51d421
mov eax, dword [ebx]
lea ecx, [esp + 0xc8]
mov dword [esp + 8], eax
push eax
push dword [esi + 0x220]
push dword [esi + 0x3c]
call fcn.00513da0
mov edi, dword [esi + 0x220]
mov dword [esp + 4], 0
test edi, edi
mov dword [esp], edi
je 0x51d130
mov edx, dword [esi + 0x22c]
mov esi, dword [esi + 0x238]
test esi, esi
je 0x51d190
mov ecx, edi
shr ecx, 4
mov eax, edi
shr eax, 9
xor eax, ecx
mov dword [esp + 0x28], esi
lea ecx, [esi - 1]
mov dword [esp + 0x1c], ecx
and eax, ecx
lea ecx, [eax + eax*2]
mov esi, dword [edx + ecx*4]
mov dword [esp + 0xc], esi
cmp esi, edi
jne 0x51d134
lea ecx, [edx + ecx*4]
mov esi, dword [esp + 0x28]
jmp 0x51d196
xor eax, eax
jmp 0x51d1b3
mov dword [esp + 0x18], 1
mov esi, dword [esp + 0x28]
cmp dword [esp + 0xc], 0xfffff000
je 0x51d190
mov ecx, dword [esp + 0x18]
add eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
and eax, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], edx
cmp edx, edi
mov edx, dword [esp + 0x24]
je 0x51d196
jmp 0x51d140
lea eax, [esi + esi*2]
lea ecx, [edx + eax*4]
lea eax, [esi + esi*2]
lea edx, [edx + eax*4]
mov eax, 0
cmp ecx, edx
mov esi, dword [esp + 0x10]
je 0x51d1b3
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0xc8]
mov edi, esi
mov edx, dword [esi + 0x3c]
mov esi, dword [esp + 4]
mov dword [esp + 0xd0], esi
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 + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
lea ecx, [esp + 0x98]
call fcn.0051c250
test byte [esp + 0x70], 1
jne 0x51d264
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x6c], eax
mov esi, dword [esp + 0x2c]
jne 0x51d0ac
mov eax, dword [esi + 4]
lea edx, [eax + 1]
cmp edx, dword [esi + 8]
jbe 0x51d0a0
mov ecx, esi
push 4
push edx
push dword [esp + 0x70]
call fcn.0054a468
mov eax, dword [esi + 4]
jmp 0x51d0a0
lea esi, [esp + 0x50]
mov ecx, esi
mov edx, edi
push dword [esp + 8]
call fcn.005139c0
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 0x51d2d1
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 0x51d304
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
jmp 0x51d30e
shr eax, 1
mov esi, dword [esp + 0x10]
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 0x51d39e
test byte [esp + 0x40], 1
jne 0x51d3b1
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x51d37a
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x78], 1
jne 0x51d3ca
test byte [esp + 0xa8], 1
jne 0x51d3e3
test byte [esp + 0x50], 1
jne 0x51d3f9
test byte [esp + 0x70], 1
jne 0x51d40c
jmp 0x51d421
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x40], 1
je 0x51d36a
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jne 0x51d375
jmp 0x51d37a
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xa8], 1
je 0x51d38b
push dword [esp + 0xb0]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x51d392
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x70], 1
je 0x51d421
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], 0
test ecx, ecx
je 0x51d421
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