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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x128
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [esp + 0xf0], ecx
mov dword [ecx + 8], 0
lea ecx, [esp + 0x118]
mov dword [esp + 0x48], edx
push dword [edx + 0x3c]
call fcn.00500940
mov ecx, dword [esp + 0x11c]
test ecx, ecx
je 0x5136d2
mov eax, ecx
mov esi, dword [esp + 0x118]
shl eax, 6
add eax, esi
mov dword [esp + 0x108], eax
xor eax, eax
xor ecx, ecx
jmp 0x51224e
add esi, 0x40
cmp esi, dword [esp + 0x108]
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
je 0x5136d2
mov edi, ecx
mov edx, eax
add eax, 1
mov dword [esp + 0x114], eax
adc ecx, 0
mov dword [esp + 0x110], ecx
cmp dword [esi + 4], 0x11000000
jne 0x512230
mov dword [esp + 0x4c], edi
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x28]
bswap eax
lea ecx, [esp + 0xd8]
push eax
mov ebx, dword [esp + 0x4c]
push dword [ebx + 0x3c]
call fcn.005054a0
test byte [esp + 0xdc], 1
mov dword [esp], esi
jne 0x5123b0
mov eax, dword [esi + 0x2c]
bswap eax
lea ecx, [esp + 0xe0]
push eax
push dword [esp + 0xdc]
push dword [ebx + 0x3c]
call fcn.00506bc0
test byte [esp + 0xe4], 1
jne 0x5124d9
mov eax, dword [esp + 0xe0]
mov dword [esp + 4], eax
mov edi, dword [esi + 0x2c]
mov esi, dword [esp + 0xd8]
mov ebx, dword [ebx + 0x3c]
lea ecx, [esp + 0x80]
push ebx
call fcn.00500940
test byte [esp + 0x88], 1
jne 0x512707
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], ebx
lea ecx, [esp + 0x34]
call fcn.00500f60
test byte [esp + 0x88], 1
je 0x512358
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x80], 0
test ecx, ecx
je 0x512358
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x2c], 1
mov ebx, dword [esp + 0x48]
jne 0x512726
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx]
bswap ecx
cmp ecx, eax
jae 0x51294b
mov edi, dword [esp + 0x24]
test edi, edi
mov esi, dword [esp]
je 0x5136b8
add edi, ecx
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esp + 4], eax
test byte [esp + 0x2c], 1
jne 0x512ae5
jmp 0x512b00
mov edi, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push edi
call fcn.00500940
mov ecx, esi
sub esi, dword [esp + 0x30]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x18], 0x305
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], str._section_with_index
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], esi
mov word [esp + 0x90], 0x902
lea esi, [esp + 0xc0]
mov ecx, esi
lea eax, [esp + 0x80]
push eax
call fcn.0054a73e
mov ecx, esi
push str.unable_to_get_the_symbol_table_for
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
lea ecx, [esp + 0x50]
push 0x551440
call fcn.0054ab40
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
xor eax, eax
test byte [esp + 0xdc], 1
je 0x5124a3
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xd8], 0
mov dword [esp + 0x100], eax
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x24]
test al, 1
je 0x512602
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
jmp 0x512608
mov edi, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push edi
call fcn.00500940
mov ecx, esi
sub esi, dword [esp + 0x30]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x18], 0x305
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], str._section_with_index
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], esi
mov word [esp + 0x90], 0x902
lea esi, [esp + 0xc0]
mov ecx, esi
lea eax, [esp + 0x80]
push eax
call fcn.0054a73e
mov ecx, esi
push str.unable_to_get_the_signature_symbol_for
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
lea ecx, [esp + 0x50]
push 0x551440
call fcn.0054ab40
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
xor eax, eax
test byte [esp + 0xe4], 1
je 0x5125cc
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xe0], 0
mov dword [esp + 0x104], eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x24]
test al, 1
je 0x512846
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
jmp 0x51284c
shr eax, 1
lea edx, [esp + 0x25]
mov esi, dword [esp]
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.0054ab46
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x90], 0x104
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, ebx
lea eax, [esp + 0x80]
push eax
call fcn.00539490
test byte [esp + 8], 1
jne 0x5126b0
test byte [esp + 0x24], 1
jne 0x5126c3
mov ecx, dword [esp + 0x100]
test ecx, ecx
je 0x512677
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x30], 1
jne 0x5126dc
test byte [esp + 0x50], 1
jne 0x5126ef
test byte [esp + 0xc0], 1
je 0x51269e
push dword [esp + 0xc8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov dword [esp + 4], 3
mov edi, 0x556c43
jmp 0x512b30
push dword [esp + 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x24], 1
je 0x512667
push dword [esp + 0x2c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x100]
test ecx, ecx
jne 0x512672
jmp 0x512677
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x512685
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xc0], 1
jne 0x51268f
jmp 0x51269e
mov eax, dword [esp + 0x80]
mov byte [esp + 0x2c], 0xff
mov dword [esp + 0x24], eax
test byte [esp + 0x2c], 1
mov ebx, dword [esp + 0x48]
je 0x512367
mov ebx, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push ebx
call fcn.00500940
mov edi, esi
sub edi, dword [esp + 0x30]
mov eax, dword [ebx]
movzx eax, word [eax + 0x12]
rol ax, 8
sar edi, 6
movzx eax, ax
mov ecx, dword [esi + 4]
bswap ecx
push ecx
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x18], 0x305
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], str._section_with_index
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], edi
mov word [esp + 0x90], 0x902
lea esi, [esp + 0xc0]
mov ecx, esi
lea eax, [esp + 0x80]
push eax
call fcn.0054a73e
mov ecx, esi
push str.unable_to_get_the_string_table_for
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
lea ecx, [esp + 0x50]
push 0x551440
call fcn.0054ab40
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
xor eax, eax
test byte [esp + 0x2c], 1
je 0x512810
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x68]
test al, 1
je 0x512a21
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
jmp 0x512a27
shr eax, 1
lea edx, [esp + 0x25]
mov esi, dword [esp]
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.0054ab46
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x90], 0x104
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, ebx
lea eax, [esp + 0x80]
push eax
call fcn.00539490
test byte [esp + 8], 1
jne 0x5128f4
test byte [esp + 0x24], 1
jne 0x512907
mov ecx, dword [esp + 0x104]
test ecx, ecx
je 0x5128bb
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x30], 1
jne 0x512920
test byte [esp + 0x50], 1
jne 0x512933
test byte [esp + 0xc0], 1
je 0x5128e2
push dword [esp + 0xc8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov dword [esp + 4], 3
mov edi, 0x556c43
jmp 0x512b00
push dword [esp + 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x24], 1
je 0x5128ab
push dword [esp + 0x2c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x104]
test ecx, ecx
jne 0x5128b6
jmp 0x5128bb
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x5128c9
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xc0], 1
jne 0x5128d3
jmp 0x5128e2
bswap edi
mov dword [esp + 0xc0], str.unable_to_get_the_name_of_the_symbol_with_index
mov dword [esp + 0xc8], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0xe8], eax
mov word [esp + 0xd0], 0x903
lea eax, [esp + 0xc0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], str.:_st_name__0x
mov word [esp + 0x60], 0x302
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x50]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x38], eax
mov word [esp + 0x40], 0xf02
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0x10], str.__is_past_the_end_of_the_string_table_of_size_0x
mov word [esp + 0x18], 0x302
mov dword [esp + 0xec], 0
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x88], eax
mov word [esp + 0x90], 0xf02
mov ecx, ebx
lea eax, [esp + 0x80]
push eax
call fcn.00539490
mov dword [esp + 4], 3
mov edi, 0x556c43
mov esi, dword [esp]
test byte [esp + 0x2c], 1
jne 0x512ae5
jmp 0x512b00
shr eax, 1
lea edx, [esp + 0x69]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp]
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.0054ab46
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x90], 0x104
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, ebx
lea eax, [esp + 0x80]
push eax
call fcn.00539490
test byte [esp + 8], 1
jne 0x51364b
test byte [esp + 0x68], 1
jne 0x513662
mov ecx, dword [esp + 0xe8]
test ecx, ecx
je 0x512aa2
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x30], 1
jne 0x513682
test byte [esp + 0x50], 1
jne 0x513699
test byte [esp + 0xc0], 1
je 0x512ad1
push dword [esp + 0xc8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov dword [esp + 4], 3
mov edi, 0x556c43
test byte [esp + 0x2c], 1
je 0x512b00
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x512b00
mov eax, dword [ecx]
call dword [eax + 4]
nop word [eax + eax]
test byte [esp + 0xe4], 1
je 0x512b30
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0xe0], 0
test ecx, ecx
je 0x512b30
mov eax, dword [ecx]
call dword [eax + 4]
nop word cs:[eax + eax]
test byte [esp + 0xdc], 1
je 0x512b55
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xd8], 0
test ecx, ecx
je 0x512b55
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x50]
push esi
push dword [ebx + 0x3c]
call fcn.00501b60
test byte [esp + 0x58], 1
mov dword [esp + 0x78], edi
jne 0x512ba0
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x512dba
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
test byte [esp + 0x58], 1
jne 0x512f21
jmp 0x512f36
mov edi, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push edi
call fcn.00500940
mov ecx, esi
sub esi, dword [esp + 0x30]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x18], 0x305
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], str._section_with_index
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], esi
mov word [esp + 0x90], 0x902
lea esi, [esp + 0x24]
mov ecx, esi
lea eax, [esp + 0x80]
push eax
call fcn.0054a73e
mov ecx, esi
push str.unable_to_get_the_content_of_the
push 0
call fcn.0054ab52
mov ecx, dword [eax + 8]
mov dword [esp + 0xc8], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0xc0], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 0xc0]
push 0x551440
call fcn.0054ab40
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
xor eax, eax
test byte [esp + 0x58], 1
je 0x512c90
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x68]
test al, 1
je 0x512cbf
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
jmp 0x512cc5
shr eax, 1
lea edx, [esp + 0x69]
mov esi, dword [esp]
mov edi, dword [esp + 0x78]
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.0054ab46
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x90], 0x104
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, ebx
lea eax, [esp + 0x80]
push eax
call fcn.00539490
test byte [esp + 8], 1
jne 0x512d55
test byte [esp + 0x68], 1
jne 0x512d68
mov ecx, dword [esp + 0xfc]
test ecx, ecx
je 0x512d38
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x30], 1
jne 0x512d81
test byte [esp + 0xc0], 1
jne 0x512d97
test byte [esp + 0x24], 1
jne 0x512db1
jmp 0x512f10
push dword [esp + 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x512d28
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xfc]
test ecx, ecx
jne 0x512d33
jmp 0x512d38
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xc0], 1
je 0x512d49
push dword [esp + 0xc8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x24], 1
je 0x512f10
push dword [esp + 0x2c]
jmp 0x512f08
mov ebx, dword [esp + 0x48]
mov edi, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push edi
call fcn.00500940
mov ecx, esi
sub esi, dword [esp + 0x30]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x18], 0x305
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], str._section_with_index
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], esi
mov word [esp + 0x90], 0x902
lea edi, [esp + 0xc0]
mov ecx, edi
lea esi, [esp + 0x80]
push esi
call fcn.0054a73e
mov ecx, edi
push str.unable_to_read_the_section_group_flag_from_the
push 0
call fcn.0054ab52
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
lea ecx, [esp + 0x30]
push str.:_the_section_is_empty
call fcn.0054ab40
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x90], 0x104
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, ebx
push esi
call fcn.00539490
test byte [esp + 8], 1
jne 0x512ed1
test byte [esp + 0x30], 1
jne 0x512ee4
test byte [esp + 0xc0], 1
mov esi, dword [esp]
mov edi, dword [esp + 0x78]
jne 0x512f01
jmp 0x512f10
push dword [esp + 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x30], 1
je 0x512ebe
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xc0], 1
mov esi, dword [esp]
mov edi, dword [esp + 0x78]
je 0x512f10
push dword [esp + 0xc8]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov dword [esp + 0x7c], 0
xor ebx, ebx
test byte [esp + 0x58], 1
je 0x512f36
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x512f36
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x48]
mov edx, esi
call fcn.00504290
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov eax, dword [0x55f2d4]
cmp byte [eax], 0
je 0x512f8b
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
sub esp, 0xc
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.0054a6ae
add esp, 0xc
jmp 0x513018
test edi, edi
mov ecx, dword [esp + 4]
je 0x512fb9
cmp ecx, 0xfffffff8
jae 0x5136e4
cmp ecx, 0xb
jae 0x512fd0
mov eax, ecx
add al, cl
mov byte [esp + 0x88], al
lea edi, [esp + 0x89]
test ecx, ecx
jne 0x513002
jmp 0x513014
lea eax, [esp + 0x88]
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
jmp 0x513018
mov esi, ecx
or esi, 7
lea eax, [esi + 1]
push eax
call sub.libc.dll_operator_new_unsigned_int_
mov ecx, dword [esp + 8]
add esp, 4
mov edi, eax
mov dword [esp + 0x90], eax
add esi, 2
mov dword [esp + 0x88], esi
mov esi, dword [esp]
mov dword [esp + 0x8c], ecx
push ecx
push dword [esp + 0x7c]
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov byte [edi + ecx], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esi]
bswap eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], ecx
mov eax, dword [esi + 0x28]
bswap eax
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x2c]
bswap eax
mov dword [esp + 0xac], eax
test ebx, ebx
je 0x513068
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
jmp 0x51306a
xor eax, eax
bswap eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov ecx, dword [esp + 0xf0]
lea edx, [esp + 0x80]
call fcn.004533f0
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x5130c2
mov dword [esp + 0xb8], eax
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x88], 1
je 0x5130db
push dword [esp + 0x90]
call sub.libc.dll_operator_delete_void_
add esp, 4
test ebx, ebx
mov ecx, dword [esp + 0x7c]
je 0x512230
cmp ebx, 1
je 0x512230
mov eax, dword [esp + 0xf0]
mov edi, dword [eax + 4]
lea eax, [ecx + ebx*4]
mov dword [esp + 0x78], eax
add ecx, 4
mov dword [esp + 0x20], edi
jmp 0x513145
mov dword [ebx], 0x556c43
mov dword [ebx + 4], 3
mov eax, dword [esp + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
add ebx, 0x10
mov esi, dword [esp]
mov dword [edi - 8], ebx
mov ecx, dword [esp + 0x7c]
add ecx, 4
cmp ecx, dword [esp + 0x78]
je 0x512230
mov dword [esp + 0x7c], ecx
mov esi, dword [ecx]
bswap esi
lea ecx, [esp + 8]
mov ebx, dword [esp + 0x48]
push dword [ebx + 0x3c]
call fcn.00500940
test byte [esp + 0x10], 1
jne 0x5131b0
cmp esi, dword [esp + 0xc]
jae 0x5132c0
mov edx, esi
shl edx, 6
add edx, dword [esp + 8]
mov ecx, ebx
call fcn.00504290
mov dword [esp + 0x4c], eax
mov dword [esp + 0xf4], edx
mov ebx, dword [edi - 8]
mov eax, dword [edi - 4]
cmp ebx, eax
jae 0x513565
mov eax, dword [esp + 0x4c]
mov dword [ebx], eax
mov eax, dword [esp + 0xf4]
mov dword [ebx + 4], eax
mov dword [ebx + 8], esi
jmp 0x513124
mov dword [esp + 4], esi
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov esi, dword [esp]
mov dword [esp + 0xc0], str.unable_to_get_the_section_with_index
mov eax, dword [esp + 4]
mov dword [esp + 0xc8], eax
mov word [esp + 0xd0], 0x903
lea eax, [esp + 0xc0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], str._when_dumping_the
mov word [esp + 0x60], 0x302
mov edi, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push edi
call fcn.00500940
mov ecx, esi
sub esi, dword [esp + 0x30]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.0054a5d0
add esp, 8
mov word [esp + 0x18], 0x305
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], str._section_with_index
lea eax, [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], esi
mov word [esp + 0x90], 0x902
lea ecx, [esp + 0x24]
lea eax, [esp + 0x80]
push eax
call fcn.0054a73e
movzx eax, byte [esp + 0x60]
cmp eax, 1
je 0x5132a0
test eax, eax
mov edi, dword [esp + 0x20]
jne 0x513350
mov word [esp + 0x40], 0x100
mov cl, 1
xor eax, eax
jmp 0x5133a0
lea edx, [esp + 0x24]
mov dword [esp + 0x30], edx
mov word [esp + 0x40], 0x104
mov al, 4
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
jmp 0x51338e
mov dword [esp + 0x80], str.invalid_section_index:
mov dword [esp + 4], esi
mov dword [esp + 0x88], esi
mov word [esp + 0x90], 0x903
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov esi, eax
call fcn.0054a58e
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 0x58], esi
mov ecx, esi
call fcn.0054a3a8
test byte [esp + 0x10], 1
je 0x5131bc
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0
test ecx, ecx
mov esi, dword [esp]
je 0x5131bf
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x5131bf
cmp byte [esp + 0x61], 1
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x50]
cmovne ecx, edx
movzx eax, al
mov edx, 2
cmovne eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], ecx
mov byte [esp + 0x40], al
mov byte [esp + 0x41], 4
mov al, 2
lea edx, [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0x551440
mov cl, 3
mov byte [esp + 0x18], al
mov byte [esp + 0x19], cl
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0054a6b4
add esp, 8
movzx eax, byte [esp + 0x18]
mov cl, 1
test eax, eax
je 0x51342a
cmp eax, 1
jne 0x5133f0
lea eax, [esp + 0x68]
mov dword [esp + 0x80], eax
mov al, 4
jmp 0x51342a
cmp byte [esp + 0x19], 1
mov ecx, dword [esp + 8]
lea edx, [esp + 8]
cmovne ecx, edx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], ecx
movzx eax, al
mov ecx, 2
cmovne eax, ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x88], ecx
mov cl, 4
mov byte [esp + 0x90], al
mov byte [esp + 0x91], cl
mov ecx, ebx
lea eax, [esp + 0x80]
push eax
call fcn.00539490
test byte [esp + 0x68], 1
je 0x51345a
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x51346a
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x24], 1
je 0x51347d
push dword [esp + 0x2c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ebx, dword [edi - 8]
mov eax, dword [edi - 4]
cmp ebx, eax
jb 0x513110
mov ecx, dword [edi - 0xc]
mov esi, ebx
sub esi, ecx
sar esi, 4
lea edx, [esi + 1]
cmp edx, 0x10000000
jae 0x5136da
sub eax, ecx
mov edi, eax
sar edi, 3
cmp edi, edx
cmovbe edi, edx
cmp eax, 0x7ffffff0
mov eax, 0xfffffff
cmovae edi, eax
test edi, edi
je 0x5134e9
cmp edi, 0x10000000
jae 0x5136df
mov eax, edi
shl eax, 4
push eax
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edx, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
mov ebx, dword [eax - 8]
jmp 0x5134eb
xor edx, edx
shl esi, 4
mov dword [edx + esi], 0x556c43
mov dword [edx + esi + 4], 3
mov eax, dword [esp + 4]
mov dword [edx + esi + 8], eax
mov eax, edx
add edx, esi
mov dword [esp + 4], eax
mov dword [eax + esi + 0xc], 0
cmp ebx, ecx
je 0x51353b
nop dword [eax]
movups xmm0, xmmword [ebx - 0x10]
add ebx, 0xfffffff0
movups xmmword [edx - 0x10], xmm0
add edx, 0xfffffff0
cmp ebx, ecx
jne 0x513520
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
jmp 0x51353f
mov eax, dword [esp + 0x20]
shl edi, 4
mov ebx, dword [esp + 4]
add edi, ebx
add ebx, esi
add ebx, 0x10
mov dword [eax - 0xc], edx
mov dword [eax - 8], ebx
mov dword [eax - 4], edi
test ecx, ecx
mov edi, eax
jne 0x51363d
jmp 0x51312e
mov dword [esp + 4], esi
mov ecx, dword [edi - 0xc]
mov esi, ebx
sub esi, ecx
sar esi, 4
lea edx, [esi + 1]
cmp edx, 0x10000000
jae 0x5136da
sub eax, ecx
mov edi, eax
sar edi, 3
cmp edi, edx
cmovbe edi, edx
cmp eax, 0x7ffffff0
mov eax, 0xfffffff
cmovae edi, eax
test edi, edi
mov dword [esp + 0x10c], edi
je 0x5135cc
mov eax, edi
cmp edi, 0x10000000
mov edi, dword [esp + 0x20]
jae 0x5136df
shl eax, 4
push eax
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ecx, dword [edi - 0xc]
mov ebx, dword [edi - 8]
jmp 0x5135d2
xor eax, eax
mov edi, dword [esp + 0x20]
shl esi, 4
mov edx, dword [esp + 0xf4]
mov dword [eax + esi + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + esi], edx
mov edx, dword [esp + 4]
mov dword [eax + esi + 8], edx
lea edx, [eax + esi]
mov dword [eax + esi + 0xc], 0
cmp ebx, ecx
je 0x513619
nop
movups xmm0, xmmword [ebx - 0x10]
add ebx, 0xfffffff0
movups xmmword [edx - 0x10], xmm0
add edx, 0xfffffff0
cmp ebx, ecx
jne 0x513600
mov ebx, eax
mov ecx, dword [edi - 0xc]
jmp 0x51361b
mov ebx, eax
mov eax, dword [esp + 0x10c]
shl eax, 4
add eax, ebx
add ebx, esi
add ebx, 0x10
mov dword [edi - 0xc], edx
mov dword [edi - 8], ebx
mov dword [edi - 4], eax
test ecx, ecx
je 0x51312e
push ecx
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x51312e
push dword [esp + 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x512a92
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xe8]
test ecx, ecx
jne 0x512a9d
jmp 0x512aa2
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x512ab8
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xc0], 1
jne 0x512ac2
jmp 0x512ad1
xor edi, edi
mov dword [esp + 4], 0
test byte [esp + 0x2c], 1
jne 0x512ae5
jmp 0x512b00
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00453640
call fcn.00407780
lea ecx, [esp + 0x88]
call fcn.00407760