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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xbc
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0x78], 0x1f
lea esi, [edi + 8]
mov dword [edx + 0x404], 1
mov dword [esp + 0xc], 0xff
mov dword [esp + 0x7c], 1
lea eax, [ebp - 8]
lea ecx, [esp + 0x7c]
lea ebx, [esp + 0xc]
push ecx
push eax
push esi
push ebx
push edx
call fcn.00553dc0
add esp, 0x14
cmp dword [esp + 0x7c], 0
jne 0x553754
mov ecx, dword [esp + 0xd0]
mov dword [ecx + 0x404], 2
cmp eax, 0xffffff89
setae dl
cmp dword [esp + 0xc], 0xff
setb dh
xor ecx, ecx
or dh, dl
cmove ecx, eax
mov eax, 0xffffffe2
jne 0x553da9
add ebp, edi
add esi, ecx
mov eax, ebp
sub eax, esi
lea edi, [esp + 0x7c]
lea edx, [esp + 0x78]
mov ecx, edi
push eax
push esi
push ebx
call fcn.00568460
add esp, 0xc
cmp eax, 0xffffff88
ja 0x553da4
mov ebx, eax
mov eax, dword [esp + 0xc]
cmp eax, 9
jae 0x553da4
mov ecx, dword [esp + 0xd0]
add ecx, 0x408
push 0x2200
push dword [esp + 0xd8]
push eax
push 0x1f
push edi
push ecx
call fcn.00554200
add esp, 0x18
xor ecx, ecx
cmp eax, 0xffffff89
cmovb ecx, ebx
jae 0x553da4
add esi, ecx
mov dword [esp + 4], 0x34
mov eax, ebp
sub eax, esi
lea edi, [esp + 8]
lea ebx, [esp + 0xc]
lea edx, [esp + 4]
mov ecx, ebx
push eax
push esi
push edi
call fcn.00568460
add esp, 0xc
cmp eax, 0xffffff88
ja 0x553da4
mov edx, dword [esp + 8]
cmp edx, 9
ja 0x553da4
mov dword [esp], eax
mov ecx, dword [esp + 0xd0]
add ecx, 0x70c
mov edi, dword [esp + 4]
push 0x2200
push dword [esp + 0xd8]
push edx
push edi
push ebx
push ecx
call fcn.00554200
mov ecx, dword [esp + 0x18]
add esp, 0x18
cmp eax, 0xffffff88
ja 0x553da4
cmp edi, 0x34
setb al
cmp word [esp + 0xc], 0
mov edi, ecx
sete cl
or cl, al
cmp word [esp + 0xe], 0
sete al
cmp word [esp + 0x10], 0
sete dl
or dl, al
or dl, cl
cmp word [esp + 0x12], 0
sete al
cmp word [esp + 0x14], 0
sete ah
or ah, al
cmp word [esp + 0x16], 0
sete cl
or cl, ah
or cl, dl
cmp word [esp + 0x18], 0
sete al
cmp word [esp + 0x1a], 0
sete dl
or dl, al
cmp word [esp + 0x1c], 0
sete ah
or ah, dl
cmp word [esp + 0x1e], 0
sete al
or al, ah
or al, cl
cmp word [esp + 0x20], 0
sete cl
cmp word [esp + 0x22], 0
sete dl
or dl, cl
cmp word [esp + 0x24], 0
sete cl
or cl, dl
cmp word [esp + 0x26], 0
sete dl
or dl, cl
cmp word [esp + 0x28], 0
sete cl
or cl, dl
or cl, al
cmp word [esp + 0x2a], 0
sete al
cmp word [esp + 0x2c], 0
sete dl
or dl, al
cmp word [esp + 0x2e], 0
sete al
or al, dl
cmp word [esp + 0x30], 0
sete dl
or dl, al
cmp word [esp + 0x32], 0
sete ah
or ah, dl
cmp word [esp + 0x34], 0
sete al
or al, ah
or al, cl
cmp word [esp + 0x36], 0
sete cl
cmp word [esp + 0x38], 0
sete dl
or dl, cl
cmp word [esp + 0x3a], 0
sete cl
or cl, dl
cmp word [esp + 0x3c], 0
sete dl
or dl, cl
cmp word [esp + 0x3e], 0
sete cl
or cl, dl
cmp word [esp + 0x40], 0
sete dl
or dl, cl
cmp word [esp + 0x42], 0
sete cl
or cl, dl
or cl, al
cmp word [esp + 0x44], 0
sete al
cmp word [esp + 0x46], 0
sete dl
or dl, al
cmp word [esp + 0x48], 0
sete al
or al, dl
cmp word [esp + 0x4a], 0
sete dl
or dl, al
cmp word [esp + 0x4c], 0
sete al
or al, dl
cmp word [esp + 0x4e], 0
sete dl
or dl, al
cmp word [esp + 0x50], 0
sete ah
or ah, dl
cmp word [esp + 0x52], 0
sete al
or al, ah
or al, cl
cmp word [esp + 0x54], 0
sete cl
cmp word [esp + 0x56], 0
sete dl
or dl, cl
cmp word [esp + 0x58], 0
sete cl
or cl, dl
cmp word [esp + 0x5a], 0
sete dl
or dl, cl
cmp word [esp + 0x5c], 0
sete cl
or cl, dl
cmp word [esp + 0x5e], 0
sete dl
or dl, cl
cmp word [esp + 0x60], 0
sete cl
or cl, dl
cmp word [esp + 0x62], 0
sete dl
or dl, cl
cmp word [esp + 0x64], 0
sete cl
or cl, dl
or cl, al
cmp word [esp + 0x66], 0
sete al
cmp word [esp + 0x68], 0
sete dl
or dl, al
cmp word [esp + 0x6a], 0
sete al
or al, dl
cmp word [esp + 0x6c], 0
sete dl
or dl, al
cmp word [esp + 0x6e], 0
sete al
or al, dl
cmp word [esp + 0x70], 0
sete dl
or dl, al
cmp word [esp + 0x72], 0
sete al
or al, dl
cmp word [esp + 0x74], 0
sete dl
or dl, al
or dl, cl
movzx eax, dl
and eax, 1
mov ecx, 2
sub ecx, eax
mov eax, dword [esp + 0xd0]
mov dword [eax + 0x11e0], ecx
add esi, edi
mov dword [esp + 4], 0x23
mov eax, ebp
sub eax, esi
lea ebx, [esp + 0xc]
lea edx, [esp + 4]
mov ecx, ebx
push eax
push esi
lea eax, [esp + 0x10]
push eax
call fcn.00568460
add esp, 0xc
cmp eax, 0xffffff89
jae 0x553da4
mov edx, dword [esp + 8]
cmp edx, 9
ja 0x553da4
mov dword [esp], eax
mov ecx, dword [esp + 0xd0]
add ecx, 0xcb8
mov edi, dword [esp + 4]
push 0x2200
push dword [esp + 0xd8]
push edx
push edi
push ebx
push ecx
call fcn.00554200
mov ecx, dword [esp + 0x18]
add esp, 0x18
cmp eax, 0xffffff88
ja 0x553da4
cmp edi, 0x23
setb al
cmp word [esp + 0xc], 0
mov edi, ecx
sete cl
or cl, al
cmp word [esp + 0xe], 0
sete al
cmp word [esp + 0x10], 0
sete dl
or dl, al
or dl, cl
cmp word [esp + 0x12], 0
sete al
cmp word [esp + 0x14], 0
sete cl
or cl, al
cmp word [esp + 0x16], 0
sete al
or al, cl
or al, dl
cmp word [esp + 0x18], 0
sete cl
cmp word [esp + 0x1a], 0
sete dl
or dl, cl
cmp word [esp + 0x1c], 0
sete ah
or ah, dl
cmp word [esp + 0x1e], 0
sete cl
or cl, ah
or cl, al
cmp word [esp + 0x20], 0
sete al
cmp word [esp + 0x22], 0
sete dl
or dl, al
cmp word [esp + 0x24], 0
sete al
or al, dl
cmp word [esp + 0x26], 0
sete dl
or dl, al
cmp word [esp + 0x28], 0
sete al
or al, dl
or al, cl
cmp word [esp + 0x2a], 0
sete cl
cmp word [esp + 0x2c], 0
sete dl
or dl, cl
cmp word [esp + 0x2e], 0
sete cl
or cl, dl
cmp word [esp + 0x30], 0
sete dl
or dl, cl
cmp word [esp + 0x32], 0
sete ah
or ah, dl
cmp word [esp + 0x34], 0
sete cl
or cl, ah
or cl, al
cmp word [esp + 0x36], 0
sete al
cmp word [esp + 0x38], 0
sete dl
or dl, al
cmp word [esp + 0x3a], 0
sete al
or al, dl
cmp word [esp + 0x3c], 0
sete dl
or dl, al
cmp word [esp + 0x3e], 0
sete al
or al, dl
cmp word [esp + 0x40], 0
sete dl
or dl, al
cmp word [esp + 0x42], 0
sete al
or al, dl
or al, cl
cmp word [esp + 0x44], 0
sete cl
cmp word [esp + 0x46], 0
sete dl
or dl, cl
cmp word [esp + 0x48], 0
sete cl
or cl, dl
cmp word [esp + 0x4a], 0
sete dl
or dl, cl
cmp word [esp + 0x4c], 0
sete cl
or cl, dl
cmp word [esp + 0x4e], 0
sete dl
or dl, cl
cmp word [esp + 0x50], 0
sete cl
or cl, dl
cmp word [esp + 0x52], 0
sete dl
or dl, cl
or dl, al
movzx eax, dl
and eax, 1
mov ecx, 2
sub ecx, eax
mov eax, dword [esp + 0xd0]
mov dword [eax + 0x11e4], ecx
lea edx, [esi + edi]
add edx, 0xc
cmp edx, ebp
ja 0x553da4
mov ecx, eax
add esi, edi
mov edi, dword [esi]
mov dword [eax + 0x11e8], edi
mov eax, dword [esi + 4]
mov dword [ecx + 0x11ec], eax
mov esi, dword [esi + 8]
mov dword [esp], esi
mov dword [ecx + 0x11f0], esi
sub ebp, edx
mov ebx, 0x1f
cmp ebp, 0xfffdffff
ja 0x553d68
lea ecx, [ebp + 0x20000]
bsr ebx, ecx
mov ecx, dword [esp + 0xd0]
mov esi, 1
cmp dword [esp + 0x78], ebx
jb 0x553d73
add ebx, 1
xor ecx, ecx
cmp word [esp + ecx*2 + 0x7c], 0
je 0x553d55
add ecx, 1
cmp ebx, ecx
jne 0x553d41
mov esi, 2
mov ecx, dword [esp + 0xd0]
mov dword [ecx + 0x11dc], esi
test edi, edi
jne 0x553d7d
jmp 0x553da4
mov esi, 1
cmp dword [esp + 0x78], ebx
jae 0x553d3c
mov dword [ecx + 0x11dc], esi
test edi, edi
je 0x553da4
cmp edi, ebp
ja 0x553da4
test eax, eax
je 0x553da4
cmp eax, ebp
ja 0x553da4
mov eax, dword [esp]
test eax, eax
je 0x553da4
cmp eax, ebp
mov eax, 0xffffffe2
ja 0x553da9
sub edx, dword [esp + 0xd8]
mov eax, edx
jmp 0x553da9
mov eax, 0xffffffe2
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret