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

Disassembly:
push ebp
push ebx
sub esp, 0xb4
lea edx, [esp + 0x3c]
mov dword [esp + 0x54], 0x567468
lea eax, [esp + 0xb0]
mov dword [esp], edx
mov dword [esp + 0x58], 0x5c4696
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x521e3c
mov dword [esp + 0x64], esp
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Register
lea ecx, [esp + 0x73]
mov dword [esp], str._____BEGIN
mov dword [esp + 4], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x40], 0xffffffff
call fcn.005674b8
sub esp, 8
lea ebx, [esp + 0x73]
mov dword [esp], 0x5d7070
mov dword [esp + 4], ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x40], 1
call fcn.005674b8
sub esp, 8
lea eax, [esp + 0x72]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x52199e
jmp 0x5219f4
cmp dword [esp + 0x10], 7
ja 0x521fd3
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
cmp edx, dword [eax - 0xc]
je 0x5219f4
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx]
mov dword [esp + 4], 1
mov dword [esp], ecx
mov ecx, edx
mov eax, dword [eax]
mov dword [esp + 0x40], 6
call eax
sub esp, 8
test eax, eax
je 0x521ed4
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x10]
movzx ecx, byte [esp + 0x72]
movsx edx, byte [eax + ebx]
cmp ecx, edx
jne 0x521982
add ebx, 1
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x10]
cmp edx, dword [eax - 0xc]
jne 0x52199e
mov eax, dword [esp + 0x78]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x521b14
lea ecx, [esp + 0x72]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
jmp 0x521aad
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x521f4f
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
lea ecx, [edx + 1]
cmp ecx, dword [eax - 8]
mov dword [esp + 0x10], ecx
ja 0x521a4b
mov ecx, dword [eax - 4]
test ecx, ecx
jle 0x521a75
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x40], 6
mov ecx, dword [esp + 0xc8]
mov dword [esp], ebx
call fcn.005675b0
sub esp, 4
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
movzx ebx, byte [esp + 0x1f]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov byte [eax + edx], bl
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [eax - 0xc], ecx
mov dword [eax - 4], 0
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x78]
cmp dword [eax - 0xc], ebx
je 0x521b14
mov ebx, dword [esp + 0xc4]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov dword [esp + 4], 1
mov ecx, ebx
mov dword [esp], edx
mov eax, dword [eax]
mov dword [esp + 0x40], 6
call eax
sub esp, 8
test eax, eax
je 0x521e50
movzx edx, byte [esp + 0x72]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x10]
movzx ecx, dl
mov byte [esp + 0x1f], dl
movsx edx, byte [eax + ebx]
cmp ecx, edx
jne 0x521a20
add ebx, 1
mov dword [esp + 0x10], ebx
je 0x521a2c
mov ebx, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x521aad
mov dword [esp], 0x54
mov dword [esp + 0x40], 6
call sub.libstdc_6.dll_operator_new_unsigned_int_
mov dword [esp], 0
mov ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], 0xb
call fcn.004b9e70
sub esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], 0
lea ecx, [esp + 0x9c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x40], 6
mov dword [esp], eax
call fcn.00475650
sub esp, 0x10
lea ecx, [esp + 0x9c]
mov dword [esp + 0x40], 0xc
call fcn.0048f000
mov edx, dword [esp + 0xc8]
lea ecx, [esp + 0x90]
mov dword [esp + 4], str._____END
mov dword [esp], ecx
mov dword [esp + 8], edx
call fcn.005bde60
lea eax, [esp + 0x8c]
mov dword [esp + 8], 0x5d7070
lea ebx, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 0x40], 0xd
call fcn.005bdf60
mov eax, dword [esp + 0x90]
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jle 0x521d65
mov eax, dword [esp + 0x8c]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x521cbf
lea edx, [esp + 0x72]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], edx
jmp 0x521c5e
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x522057
mov dword [esp], edx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x40], 0x12
call fcn.00451de0
sub esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
cmp dword [eax - 0xc], edx
je 0x521cbf
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [esp + 4], 1
mov dword [esp], ebx
mov eax, dword [eax]
mov dword [esp + 0x40], 0x12
call eax
sub esp, 8
test eax, eax
je 0x521db8
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x10]
movzx edx, byte [esp + 0x72]
movsx ecx, byte [eax + ebx]
cmp edx, ecx
jne 0x521c20
add ebx, 1
mov dword [esp + 0x10], ebx
je 0x521c2c
mov edx, dword [esp + 0x10]
cmp dword [eax - 0xc], edx
jne 0x521c5e
lea ecx, [esp + 0x9c]
mov dword [esp + 0x40], 0x12
call fcn.00451270
lea ecx, [esp + 0x9c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x40], 0x12
call fcn.004d1000
sub esp, 8
mov edx, 0xffffffff
mov eax, dword [esp + 0x8c]
lock xadd dword [eax - 4], edx
test edx, edx
jle 0x521d7c
lea ecx, [esp + 0x9c]
mov dword [esp + 0x40], 6
call fcn.00474ce0
mov eax, dword [esp + 0x78]
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jle 0x521d90
mov eax, dword [esp + 0x74]
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jle 0x521da4
lea ecx, [esp + 0x3c]
mov dword [esp], ecx
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Unregister
mov eax, dword [esp + 0xc0]
add esp, 0xb4
pop ebx
pop ebp
ret
lea ecx, [eax - 0xc]
lea eax, [esp + 0x73]
mov dword [esp], eax
call fcn.00567500
sub esp, 4
jmp 0x521bf4
lea ebx, [esp + 0x73]
lea ecx, [eax - 0xc]
mov dword [esp], ebx
call fcn.00567500
sub esp, 4
jmp 0x521d11
lea ecx, [eax - 0xc]
lea eax, [esp + 0x73]
mov dword [esp], eax
call fcn.00567500
sub esp, 4
jmp 0x521d37
lea edx, [esp + 0x73]
lea ecx, [eax - 0xc]
mov dword [esp], edx
call fcn.00567500
sub esp, 4
jmp 0x521d49
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
mov dword [esp], str.PEM:_No_PEM_trailer_found
lea ecx, [esp + 0x94]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x73]
mov dword [esp + 4], eax
mov dword [esp + 0x40], 0xe
call fcn.005674b8
sub esp, 8
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x94]
mov dword [esp + 0x40], 0xf
mov dword [esp], edx
call fcn.0057b760
sub esp, 4
lea ecx, [esp + 0x94]
call fcn.00567508
mov eax, dword [esp + 0x24]
mov dword [esp + 8], fcn.0057b960
mov dword [esp + 4], 0x62d7c0
mov dword [esp + 0x40], 0x12
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], edx
jmp dword [eax*4 + 0x5d70e0]
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
lea ecx, [esp + 0x73]
mov dword [esp], str.PEM:_No_PEM_header_found
mov dword [esp + 4], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], 7
call fcn.005674b8
sub esp, 8
mov ecx, dword [esp + 0x2c]
lea ebx, [esp + 0x84]
mov dword [esp + 0x40], 8
mov dword [esp], ebx
call fcn.0057b760
sub esp, 4
lea ecx, [esp + 0x84]
call fcn.00567508
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], fcn.0057b960
mov dword [esp + 4], 0x62d7c0
mov dword [esp + 0x40], 6
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
mov dword [esp], 8
lea ebx, [esp + 0x73]
call sub.libstdc_6.dll___cxa_allocate_exception
mov dword [esp + 4], ebx
lea ecx, [esp + 0x7c]
mov dword [esp], str.PEM:_No_PEM_header_found
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], 2
call fcn.005674b8
sub esp, 8
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x7c]
mov dword [esp + 0x40], 3
mov dword [esp], eax
call fcn.0057b760
sub esp, 4
lea ecx, [esp + 0x7c]
call fcn.00567508
mov eax, dword [esp + 0x34]
mov dword [esp + 8], fcn.0057b960
mov dword [esp + 4], 0x62d7c0
mov dword [esp + 0x40], 6
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
mov dword [esp], str.PEM:_Malformed_PEM_header
lea ecx, [esp + 0x88]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x73]
mov dword [esp + 4], eax
mov dword [esp + 0x40], 9
call fcn.005674b8
sub esp, 8
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x88]
mov dword [esp + 0x40], 0xa
mov dword [esp], edx
call fcn.0057b760
sub esp, 4
lea ecx, [esp + 0x88]
call fcn.00567508
mov eax, dword [esp + 0x30]
mov dword [esp + 8], fcn.0057b960
mov dword [esp + 4], 0x62d7c0
mov dword [esp + 0x40], 6
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
mov dword [esp], str.PEM:_Malformed_PEM_header
lea ecx, [esp + 0x80]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x73]
mov dword [esp + 4], eax
mov dword [esp + 0x40], 4
call fcn.005674b8
sub esp, 8
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x80]
mov dword [esp + 0x40], 5
mov dword [esp], edx
call fcn.0057b760
sub esp, 4
lea ecx, [esp + 0x80]
call fcn.00567508
mov eax, dword [esp + 0x38]
mov dword [esp + 8], fcn.0057b960
mov dword [esp + 4], 0x62d7c0
mov dword [esp + 0x40], 6
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
mov dword [esp], str.PEM:_Malformed_PEM_trailer
lea ecx, [esp + 0x98]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x73]
mov dword [esp + 4], eax
mov dword [esp + 0x40], 0x10
call fcn.005674b8
sub esp, 8
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x98]
mov dword [esp + 0x40], 0x11
mov dword [esp], edx
call fcn.0057b760
sub esp, 4
lea ecx, [esp + 0x98]
call fcn.00567508
mov eax, dword [esp + 0x28]
mov dword [esp + 8], fcn.0057b960
mov dword [esp + 4], 0x62d7c0
mov dword [esp + 0x40], 0x12
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
lea ecx, [esp + 0x7c]
call fcn.00567508
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_free_exception
lea ecx, [esp + 0x78]
call fcn.00567508
lea ecx, [esp + 0x74]
call fcn.00567508
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], ecx
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Resume
lea ecx, [esp + 0x80]
call fcn.00567508
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_free_exception
jmp 0x5220f0