Function at 0x5635a0
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 ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
xor al, al
mov byte [esp], al
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x38]
call fcn.00416dc0
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], 4
mov dword [esi + 0x80], ebx
mov ecx, ebx
xor edx, edx
call fcn.004ed394
mov dword [esi + 0x7c], eax
lea ecx, [esi + 0x84]
push dword [esi + 0x64]
call fcn.005142d8
mov eax, dword [esp + 0x34]
mov dword [esi + 0x78], eax
mov dword [esi + 0x74], 3
push dword [esp + 0x44]
mov ecx, esi
call fcn.00587cac
xor edi, edi
lea eax, [esi + 0x14]
xor edx, edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x34], edx
mov ecx, 0xffffffff
mov edx, dword [esi + 4]
lea ebp, [edx - 2]
mov ebx, dword [esi]
add ebx, 0xffffffd8
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
add ebp, 2
add edx, 0x7e
cmp ebp, edx
jbe 0x563665
mov eax, 1
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov word [ebp], di
add ebx, 0x28
mov eax, dword [esi + 0x14]
mov dword [ebx], eax
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], edx
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x24], eax
mov dword [esp + 0x10], edi
movsx eax, word [edi*2 + 0x7542f8]
mov dword [esp + 0xc], eax
cmp eax, 0xfffffc18
jle 0x5636f5
mov eax, dword [esp + 8]
movsx edx, ax
test edx, edx
jl 0x5639df
mov eax, dword [esp + 0xc]
add eax, edx
movsx eax, ax
test eax, eax
jl 0x5636f5
cmp eax, 0x1e
jge 0x5636f5
movsx edi, word [eax*2 + 0x7542bc]
cmp dx, word [edi*2 + 0x754294]
je 0x5638e6
mov eax, dword [esp + 0x10]
movsx eax, word [eax*2 + 0x75426c]
cmp eax, 0xfffffffe
je 0x563933
test eax, eax
je 0x563a31
movsx edi, word [eax*2 + 0x754244]
lea edx, [edi + edi]
neg edx
add ebp, edx
mov dword [esp + 0x10], ebx
imul edx, edi, 0xffffffd8
add ebx, edx
mov edx, dword [ebx + 0x28]
mov dword [esi + 0x14], edx
mov edx, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x30]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edi
mov edx, dword [ebx + 0x34]
mov dword [esi + 0x20], edx
mov edx, dword [ebx + 0x38]
mov dword [esi + 0x24], edx
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edi
mov edx, dword [ebx + 0x44]
mov dword [esi + 0x30], edx
mov edx, dword [ebx + 0x48]
mov dword [esi + 0x34], edx
mov edx, dword [ebx + 0x4c]
mov dword [esi + 0x38], edx
movsx edx, word [eax*2 + 0x75422c]
mov dword [esp + 0xc], edx
movsx edi, word [edx*2 + 0x754220]
mov dword [esp + 0x14], edi
movzx edx, word [ebp]
lea edx, [edx + edi + 1]
movsx edx, dx
cmp edx, 0x1e
jge 0x5637a8
movsx edi, word [edx*2 + 0x7542bc]
movsx edx, word [edi*2 + 0x754294]
mov ecx, dword [esp + 0xc]
neg ecx
cmp edx, ecx
je 0x5637b4
mov edx, dword [esp + 0x14]
movsx edi, word [edx*2 + 0x7542bc]
dec eax
cmp eax, 9
ja case.default.0x5637c5
mov eax, dword [eax*4 + 0x754320]
jmp eax
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [esp + 8]
push edx
mov ecx, esi
call fcn.00587b5c
jmp 0x5638cd
mov edx, dword [esp + 0x10]
lea eax, [edx - 0x50]
push eax
push edx
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.00587930
jmp 0x5638cd
mov eax, dword [esp + 0x10]
lea edx, [eax - 0x50]
push eax
push edx
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.00587930
jmp 0x5638cd
mov eax, dword [esp + 0x10]
lea edx, [eax - 0x50]
push eax
push edx
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.00587930
jmp 0x5638cd
mov eax, dword [esp + 0x10]
lea edx, [eax - 0x28]
push 0
push eax
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.0058782c
mov edx, dword [esi + 4]
jmp 0x56364c
mov edx, dword [esp + 0x10]
lea eax, [edx - 0x28]
push 0
push eax
push edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.0058782c
mov edx, dword [esi + 4]
jmp 0x56364c
mov dword [esi + 0x14], 4
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
mov edx, dword [esi + 4]
jmp 0x56364c
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [esp + 8]
push edx
mov ecx, esi
call fcn.005877d8
mov edx, dword [esi + 4]
jmp 0x56364c
mov eax, dword [esp + 0x10]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.00588994
jmp 0x5638cd
mov eax, dword [esp + 0x10]
add eax, 0xffffffd8
push eax
mov ecx, esi
call fcn.00588994
cmp eax, 1
je 0x563a22
mov edx, dword [esi + 4]
jmp 0x56364c
mov edx, dword [esi + 4]
jmp 0x56364c
mov eax, 0xffffffff
mov dword [esp + 8], eax
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [esi + 0x48]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0x58]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x38], eax
mov edx, dword [esi + 4]
jmp 0x56364c
mov eax, dword [esp + 8]
movsx edx, ax
test edx, edx
jl 0x5639a9
mov edx, 0x75425c
mov eax, dword [esp + 0x10]
jmp 0x56394c
add edx, 4
movzx edi, word [edx]
cmp edi, 0xffff
jne 0x563949
cmp ax, word [edx + 2]
jne 0x563949
lea eax, [edx + 4]
movsx edx, word [edx + 4]
test edx, edx
jl 0x56397f
mov edx, dword [esp + 8]
movsx edx, dx
cmp dx, word [eax]
je 0x56397f
movsx edi, word [eax + 4]
add eax, 4
test edi, edi
jge 0x56396f
movsx eax, word [eax + 2]
test eax, eax
jge 0x56370a
add esi, 0x198
push esi
push 7
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
movsx edx, ax
cmp edx, 0x10e
jne 0x56393e
mov al, byte [esp]
cmp al, 1
je 0x5639d4
mov al, 1
mov byte [esp], al
jmp 0x56393e
xor eax, eax
mov dword [esp + 8], eax
jmp 0x56393e
mov ecx, esi
call fcn.0053873c
mov dword [esp + 8], eax
movsx edx, ax
cmp edx, 0x10e
je 0x5639fd
movsx edx, ax
jmp 0x5636cd
mov al, byte [esp]
cmp al, 1
je 0x563a15
mov al, 1
mov byte [esp], al
mov edx, dword [esp + 8]
movsx edx, dx
jmp 0x5636cd
xor eax, eax
mov dword [esp + 8], eax
xor edx, edx
jmp 0x5636cd
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