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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
call fcn.00497120
mov edi, dword [esp + 0x80]
test edi, edi
mov dword [esp + 0x4c], eax
jne 0x562ce5
mov eax, dword [esp + 0x70]
mov dword [esp + 0x44], 0
mov ebx, dword [eax + 0x14]
movsx esi, word [ebx + 4]
test esi, esi
jle 0x5632bf
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x70]
jmp 0x562cc4
mov edx, edi
mov eax, ebx
call fcn.00558e30
test eax, eax
jne 0x562cd4
add edi, 1
cmp edi, esi
jge 0x562cd4
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.0055d5c0
test eax, eax
je 0x562cb0
mov dword [esp + 0x44], edi
lea edi, [edi + edi*2]
movzx esi, word [esp + 0x44]
shl edi, 3
jmp 0x562cfc
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x14]
movsx eax, word [eax + 4]
lea edi, [eax + eax*2]
mov esi, eax
mov dword [esp + 0x44], eax
shl edi, 3
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.004f87e0
mov ebx, dword [eax + 0x14]
mov ebp, eax
movzx eax, word [ebx + 2]
mov byte [ebx], 3
mov dword [ebx + 0x20], 0x708e40
mov word [ebx + 4], si
and ax, 0xfc7f
or al, 0x80
test al, 0x10
mov word [ebx + 2], ax
je 0x563202
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
mov dword [esp + 0x2c], eax
sub eax, edx
cmp edi, eax
jg 0x5631d0
mov eax, dword [esi + 0x44]
add edx, edi
mov dword [esi + 0x48], edx
cmp edx, eax
je 0x5631f9
mov ecx, dword [esi + 0x54]
add edx, dword [esi + 0x54]
not ecx
and edx, ecx
mov ecx, edx
sub ecx, dword [esi + 0x40]
mov dword [esi + 0x48], edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esi + 0x40]
cmp dword [esp + 0x28], ecx
jg 0x5631c0
mov dword [esi + 0x44], edx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov esi, dword [esp + 0x70]
xor edx, edx
mov eax, dword [ebp + 0x14]
test esi, esi
je 0x562dbe
mov esi, dword [esp + 0x70]
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 8]
test edx, edx
je 0x563260
or byte [eax + 2], 8
mov ebx, dword [esp + 0x44]
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
test ebx, ebx
jle 0x56311c
mov dword [esp + 0x28], 0
xor edx, edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], ebp
jmp 0x562f29
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
call fcn.00558e30
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x562ff2
mov edx, dword [esp + 0x7c]
mov eax, dword [eax + 0x14]
test edx, edx
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x30], edx
je 0x563228
mov dword [esp], ebp
call fcn.00560660
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
test eax, eax
je 0x562e76
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x78]
mov eax, dword [eax + 0x18]
mov edi, dword [eax + edx]
xor eax, eax
mov edx, dword [esp + 0x74]
mov dword [esp], ebp
add esi, edi
test edx, edx
cmove esi, eax
add edi, dword [esp + 0x78]
test ecx, ecx
cmove edi, eax
call fcn.00561030
mov ebp, eax
test ebx, ebx
lea eax, [ebx + 7]
cmovns eax, ebx
sar eax, 3
test esi, esi
lea edx, [esi + eax]
cmovne esi, edx
add eax, edi
test edi, edi
cmovne edi, eax
mov dword [esp], ebp
call fcn.005606f0
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.00562300
mov edi, dword [eax + 0x10]
mov esi, eax
mov eax, edi
call fcn.00558d30
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x70]
mov eax, dword [edx + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 0x18]
add eax, dword [esp + 0x28]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x28]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + esi + 0x10]
mov dword [eax + 0x10], edx
lea edx, [edi*8]
mov ecx, dword [esp + 0x2c]
add edx, ebx
cmp dword [esp + 0x2c], edx
mov esi, dword [esp + 0x3c]
cmovl ecx, edx
mov eax, ecx
add eax, 7
shr eax, 3
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
add dword [esp + 0x24], 1
add dword [esp + 0x28], 0x18
cmp dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
je 0x563070
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 1
mov eax, dword [eax + 0x14]
add ebp, dword [eax + 0x18]
mov dword [esp + 0x38], eax
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x562fa0
mov dword [esp], ebx
mov dword [esp + 0x20], edx
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x20]
movsx ecx, byte [ebx + eax - 1]
sub ecx, 0x30
cmp ecx, 9
ja 0x562fa0
movsx ecx, byte [ebx + eax - 2]
lea esi, [eax - 2]
sub eax, 1
mov dword [esp + 0x34], 0xfffffff8
mov dword [esp + 0x30], 8
sub ecx, 0x30
cmp ecx, 9
cmovbe eax, esi
cmp eax, 6
mov dword [esp + 0x40], eax
jg 0x563020
mov esi, dword [esp + 0x30]
lea ebx, [edx + esi - 1]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
and ebx, dword [esp + 0x34]
add ebx, dword [ebp]
mov eax, dword [edx + 0x14]
add esi, dword [eax + 0x18]
and byte [esi + 8], 0xf1
and dword [esi + 8], 0xf
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x70]
mov dword [esi], ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0055d5c0
test eax, eax
je 0x562e03
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x48], eax
jmp 0x562ef1
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov edx, dword [ebp + 8]
shr edx, 4
test edx, edx
je 0x563150
mov eax, dword [esi + 8]
mov ecx, edx
shl ecx, 4
and eax, 0xf
or eax, ecx
mov dword [esi + 8], eax
jmp 0x562ef1
lea edi, [ebx + eax - 6]
mov esi, str.___XV
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
jne 0x562fa0
add ebx, dword [esp + 0x40]
mov dword [esp], ebx
call sub.msvcrt.dll_atoi
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
shl eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
neg ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
add ebp, dword [eax + 0x18]
jmp 0x562fa0
cmp dword [esp + 0x48], 0xffffffff
mov ebp, esi
je 0x56311c
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x48]
mov eax, dword [eax + 0x18]
lea esi, [edx + edx*2]
shl esi, 3
mov ebx, dword [eax + esi]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x5632c8
mov edi, dword [esp + 0x78]
test ebx, ebx
lea edx, [ebx + 7]
cmovns edx, ebx
xor ecx, ecx
sar edx, 3
add edi, edx
cmp dword [esp + 0x78], 0
cmove edi, ecx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x74]
add edx, dword [esp + 0x74]
test edi, edi
cmovne ecx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [edx + 0x18]
mov edi, dword [edx + esi + 0xc]
mov edx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, edi
call fcn.00563680
test eax, eax
je 0x563268
mov edx, dword [ebp + 0x14]
add esi, dword [edx + 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], 0x72770c
lea eax, [ebx + eax*8]
cmp dword [esp + 0x2c], eax
cmovge eax, dword [esp + 0x2c]
add eax, 7
shr eax, 3
mov dword [ebp + 0x10], eax
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x563188
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
test eax, eax
je 0x56320f
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], str.Invalid_type_size_for___s_detected:__d.
call fcn.0059b580
jmp 0x563197
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
cmp byte [eax], 0x16
je 0x563170
mov dword [esp], edx
call fcn.0055db80
mov edx, dword [eax + 0x10]
shl edx, 3
jmp 0x562ef1
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0x14]
cmp byte [eax], 0x16
jne 0x56315b
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0x14]
cmp byte [eax], 0x16
je 0x563170
jmp 0x56315b
mov edx, dword [ebp + 0x10]
add edx, eax
neg eax
sub edx, 1
and edx, eax
mov dword [ebp + 0x10], edx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.004971f0
mov edx, dword [0x85ef0c]
cmp dword [ebp + 0x10], edx
ja 0x5632e5
add esp, 0x5c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x48], edx
jmp 0x562d7f
lea eax, [esi + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00640110
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x4c]
add edx, edi
cmp edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esi + 0x48], edx
jne 0x562d58
or byte [esi + 0x64], 2
jmp 0x562d58
mov dword [esp], edi
call fcn.005c2e50
jmp 0x562d82
mov dword [esp + 4], 0
mov dword [esp], str.Invalid_type_size_for__unnamed__detected:__d.
call fcn.0059b580
jmp 0x563197
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x10]
call fcn.00558d30
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov dword [esp], eax
call fcn.00499300
mov dword [esp + 0x30], eax
jmp 0x562e31
mov edx, dword [ecx + 0xc]
jmp 0x562dbe
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x48]
movzx edi, word [esi + 4]
add edx, 1
movsx ebx, di
cmp edx, ebx
jge 0x5632b3
mov ecx, dword [esi + 0x18]
lea eax, [edx + edx*2]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
add edx, 1
mov dword [eax - 0x18], ecx
mov ecx, dword [eax + 4]
mov dword [eax - 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [eax - 0x10], ecx
mov ecx, dword [eax + 0xc]
mov dword [eax - 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [eax - 8], ecx
mov ecx, dword [eax + 0x14]
mov dword [eax - 4], ecx
add eax, 0x18
cmp edx, ebx
jl 0x563286
sub edi, 1
mov word [esi + 4], di
jmp 0x56311c
xor edi, edi
xor esi, esi
jmp 0x562cfc
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov dword [esp], ebp
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.00499300
jmp 0x56309c
mov dword [esp], str.record_type_with_dynamic_size_is_larger_than_varsize_limit
call fcn.0059a2d0
jmp fcn.00563300