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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x18
mov esi, ecx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
xor al, al
mov byte [esp + 0x10], al
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x3c]
call fcn.00416dc0
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 5
mov dword [esi + 0x80], ebp
mov ecx, ebp
xor edx, edx
call fcn.004ed394
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x78], eax
cmp ebx, 0xd
je 0x562ed9
mov dword [esi + 0x74], ebx
lea ecx, [esi + 0xd5]
mov dword [esp + 0x14], ecx
push 0
call fcn.0051523c
mov ecx, esi
call fcn.005a4580
cmp eax, 1
jne 0x562a24
mov eax, 1
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
xor edx, edx
lea eax, [esi + 0x14]
xor ebx, ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov edi, 0xffffffff
mov ecx, dword [esi + 4]
lea ebp, [ecx - 2]
mov ebx, dword [esi]
add ebx, 0xffffffd8
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
add ebp, 2
add ecx, 0x7e
cmp ebp, ecx
jbe 0x562a7e
mov eax, 1
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov eax, dword [esp + 4]
mov word [ebp], ax
add ebx, 0x28
mov edx, dword [esi + 0x14]
mov dword [ebx], edx
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [ebx + 4], edi
mov dword [ebx + 8], edx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0xc], edx
mov edx, dword [esi + 0x24]
mov dword [ebx + 0x10], edx
mov edi, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edx
mov edx, dword [esi + 0x30]
mov dword [ebx + 0x1c], edx
mov edx, dword [esi + 0x34]
mov dword [ebx + 0x20], edx
mov edi, dword [esi + 0x38]
mov dword [ebx + 0x24], edi
mov dword [esp], eax
movsx edx, word [eax*2 + 0x753d60]
mov dword [esp + 4], edx
cmp edx, 0xfffffc18
jle 0x562b16
mov eax, dword [esp + 8]
movsx eax, ax
test eax, eax
jl 0x562e93
mov edx, dword [esp + 4]
add edx, eax
movsx edx, dx
test edx, edx
jl 0x562b16
cmp edx, 0x46
jge 0x562b16
movsx edx, word [edx*2 + 0x753cc0]
mov dword [esp + 4], edx
cmp ax, word [edx*2 + 0x753c60]
je 0x562d7c
mov eax, dword [esp]
movsx edi, word [eax*2 + 0x753c00]
cmp edi, 0xfffffffe
je 0x562dc9
test edi, edi
je 0x562ee5
movsx eax, word [edi*2 + 0x753df0]
lea edx, [eax + eax]
neg edx
add ebp, edx
mov dword [esp], ebx
imul eax, eax, 0xffffffd8
add ebx, eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x14], eax
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x24], eax
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x30], eax
mov edx, dword [ebx + 0x48]
mov dword [esi + 0x34], edx
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x38], eax
movsx eax, word [edi*2 + 0x753dc4]
movsx edx, word [eax*2 + 0x753db4]
movzx ecx, word [ebp]
lea ecx, [ecx + edx + 1]
movsx ecx, cx
cmp ecx, 0x46
jge 0x562bbf
movsx ecx, word [ecx*2 + 0x753cc0]
mov dword [esp + 4], ecx
movsx ecx, word [ecx*2 + 0x753c60]
neg eax
cmp ecx, eax
je 0x562bcb
movsx eax, word [edx*2 + 0x753cc0]
mov dword [esp + 4], eax
dec edi
cmp edi, 0x13
ja case.default.0x562bdc
mov eax, dword [edi*4 + 0x753e40]
jmp eax
mov dword [esi + 0x70], 0
mov ecx, dword [esi + 4]
jmp 0x562a65
mov dword [esi + 0x70], 0
mov ecx, dword [esi + 4]
jmp 0x562a65
mov edx, dword [esi + 0x70]
xor eax, eax
test edx, edx
sete al
mov dword [esi + 0x70], eax
mov ecx, dword [esi + 4]
jmp 0x562a65
mov dword [esi + 0x70], 1
mov ecx, dword [esi + 4]
jmp 0x562a65
mov dword [esi + 0x70], 1
mov ecx, dword [esi + 4]
jmp 0x562a65
mov dword [esi + 0x70], 0
mov ecx, dword [esi + 4]
jmp 0x562a65
mov eax, dword [esp]
push eax
mov ecx, esi
call fcn.005a452c
jmp 0x562d63
mov eax, dword [esp]
push eax
mov ecx, esi
call fcn.005a44d0
jmp 0x562d63
mov edx, dword [esp]
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.005a43a0
jmp 0x562d63
mov edx, dword [esp]
add edx, 0xffffffd8
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.005a43a0
jmp 0x562d63
mov edx, dword [esp]
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.005a43a0
jmp 0x562d63
mov edx, dword [esp]
add edx, 0xffffffd8
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.005a43a0
jmp 0x562d63
mov edi, dword [esp]
lea edx, [edi - 0x28]
push edi
push edx
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.005a445c
jmp 0x562d63
mov dword [esi + 0x14], 5
mov edx, dword [esp]
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
mov edi, dword [edx + 0xc]
mov dword [esi + 0x20], edi
mov eax, dword [edx + 0x10]
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 4]
jmp 0x562a65
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.005a42f0
jmp 0x562d63
mov edx, dword [esp]
lea eax, [edx - 0x78]
add edx, 0xffffffd8
push edx
push eax
mov ecx, esi
call fcn.005a4280
jmp 0x562d63
mov edx, dword [esp]
lea eax, [edx - 0x28]
add edx, 0xffffff88
push edx
push eax
mov ecx, esi
call fcn.005a4280
jmp 0x562d63
mov edx, dword [esp]
lea eax, [edx - 0x78]
add edx, 0xffffffd8
push edx
push eax
mov ecx, esi
call fcn.005a4280
jmp 0x562d63
mov eax, dword [esp]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.005a3fac
jmp 0x562d63
mov eax, dword [esp]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.005a3fac
cmp eax, 1
je 0x562ef4
mov ecx, dword [esi + 4]
jmp 0x562a65
mov ecx, dword [esi + 4]
jmp 0x562a65
mov eax, 0xffffffff
mov dword [esp + 8], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x14], eax
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov edi, dword [esi + 0x58]
mov dword [esi + 0x30], edi
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x34], edx
mov eax, dword [esi + 0x60]
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 4]
jmp 0x562a65
mov edx, dword [esp + 8]
movsx eax, dx
test eax, eax
jl 0x562e5a
mov edx, 0x753e1c
mov edi, dword [esp]
jmp 0x562de5
add edx, 4
movzx eax, word [edx]
cmp eax, 0xffff
jne 0x562de2
cmp di, word [edx + 2]
jne 0x562de2
lea eax, [edx + 4]
movsx edx, word [edx + 4]
test edx, edx
jl 0x562e17
mov edx, dword [esp + 8]
movsx edi, dx
cmp di, word [eax]
je 0x562e17
movsx edx, word [eax + 4]
add eax, 4
test edx, edx
jge 0x562e07
movsx edi, word [eax + 2]
test edi, edi
jge 0x562b2a
mov eax, dword [esi + 0x1bc]
mov dword [esi + 0xe5], eax
mov dword [esi + 0xf5], eax
mov ecx, dword [esp + 0x14]
call fcn.00515328
mov eax, dword [esp + 0x14]
push eax
push 5
mov ecx, dword [esp + 0x34]
call fcn.004ffcbc
xor eax, eax
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov ecx, esi
call fcn.0053873c
mov dword [esp + 8], eax
mov edx, eax
movsx eax, dx
cmp eax, 0x10e
jne 0x562dd8
mov al, byte [esp + 0x10]
cmp al, 1
je 0x562e88
mov al, 1
mov byte [esp + 0x10], al
jmp 0x562dd8
xor eax, eax
mov dword [esp + 8], eax
jmp 0x562dd8
mov ecx, esi
call fcn.0053873c
mov dword [esp + 8], eax
mov edx, eax
movsx eax, dx
cmp eax, 0x10e
je 0x562eb4
mov eax, edx
movsx eax, ax
jmp 0x562aea
mov al, byte [esp + 0x10]
cmp al, 1
je 0x562ecc
mov al, 1
mov byte [esp + 0x10], al
mov edi, edx
movsx eax, di
jmp 0x562aea
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
jmp 0x562aea
mov dword [esi + 0x74], 0
jmp 0x5629f8
mov eax, 1
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov eax, 1
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c