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

Disassembly:
sub esp, 0x100
mov eax, dword [esp + 0x104]
mov dword [esp + 0x34], ecx
push ebx
push ebp
mov ecx, dword [eax]
push esi
push edi
mov dword [esp + 0x14], ecx
mov byte [esp + 0x13], 0
dec word [esp + 0x14]
lea edx, [esp + 0x14]
push edx
mov ecx, 0x81a800
call fcn.005453b0
mov eax, dword [eax + 0x44]
cmp eax, 0xcd
jl 0x55ec45
cmp eax, 0xe8
jle 0x55ec20
mov cx, word [esp + 0x14]
inc cx
xor edx, edx
mov word [esp + 0x14], cx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
jmp 0x55ec6c
mov cx, word [esp + 0x14]
xor edx, edx
movsx eax, word [esp + 0x16]
mov edi, dword [0x81a938]
movsx esi, cx
shl eax, 9
add eax, esi
js 0x55ec93
cmp eax, 0x40000
jge 0x55ec93
mov eax, dword [edi + eax*4]
cmp eax, edx
je 0x55ec93
mov ebp, eax
jmp 0x55eca1
mov eax, dword [esp + 0x14]
mov ebp, 0xa575f0
mov dword [0xa57614], eax
mov edx, dword [esp + 0x16]
mov dword [esp + 0x30], ebp
movsx ebx, cx
lea eax, [edx - 1]
mov word [esp + 0x38], cx
mov word [esp + 0x3a], ax
movsx eax, ax
shl eax, 9
add eax, ebx
js 0x55ecd7
cmp eax, 0x40000
jge 0x55ecd7
mov eax, dword [edi + eax*4]
test eax, eax
je 0x55ecd7
mov dword [esp + 0x40], eax
jmp 0x55ece8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], 0xa575f0
mov dword [0xa57614], eax
lea eax, [edx + 1]
mov word [esp + 0x3c], cx
mov word [esp + 0x3e], ax
movsx eax, ax
shl eax, 9
add eax, esi
js 0x55ed13
cmp eax, 0x40000
jge 0x55ed13
mov eax, dword [edi + eax*4]
test eax, eax
je 0x55ed13
mov dword [esp + 0x34], eax
jmp 0x55ed25
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], 0xa575f0
mov dword [0xa57614], ecx
lea edx, [esp + 0xa0]
mov ecx, ebp
push edx
call fcn.00474d00
mov esi, eax
lea eax, [esp + 0xf0]
push eax
mov ecx, ebp
call fcn.00474ab0
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x55edd4
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x55edd4
mov ebx, dword [esi + 8]
test ebx, ebx
mov dword [esp + 0x70], ebx
jle 0x55edc7
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov dword [esp + 0x2c], ecx
jle 0x55edc7
mov edx, dword [eax]
mov ecx, dword [esi]
mov edi, dword [eax + 4]
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp edx, ecx
jle 0x55ed84
sub edx, ecx
add ebp, edx
mov edx, ecx
mov esi, dword [esi + 4]
cmp edi, esi
mov dword [esp + 0x68], esi
jle 0x55ed95
sub edi, esi
add eax, edi
mov edi, esi
lea esi, [ecx + ebx]
lea ebx, [edx + ebp]
cmp ebx, esi
jge 0x55eda9
mov esi, dword [esp + 0x70]
sub ecx, edx
lea ebp, [ecx + esi + 1]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x2c]
add ecx, esi
lea esi, [eax + edi]
cmp esi, ecx
jge 0x55edbf
sub ecx, edi
inc ecx
mov eax, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x30]
jmp 0x55eddf
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
jmp 0x55eddf
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov esi, dword [ebp + 0x44]
mov dword [esp + 0x2c], esi
lea eax, [esi - 0xd1]
cmp eax, 0x16
ja case.0x55ee0d.212
xor edx, edx
mov dl, byte [eax + 0x55f0d0]
jmp dword [edx*4 + 0x55f0c0]
mov eax, 0xdf
jmp 0x55eee7
mov eax, 0xe1
jmp 0x55eee7
mov edx, 3
xor ecx, ecx
call fcn.00576440
movsx ecx, word [esp + 0x16]
mov esi, dword [esp + 0x24]
add eax, 0xcd
movsx edx, word [esp + 0x14]
dec ecx
mov ebx, 1
test esi, esi
mov edi, 3
jle 0x55eecc
cmp dword [esp + 0x28], 0
jle 0x55eecc
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x20]
cmp ebx, edx
jle 0x55ee81
sub esi, edx
mov dword [esp + 0x58], edx
add esi, ebx
cmp edi, ecx
jle 0x55ee93
mov ebx, dword [esp + 0x64]
sub edi, ecx
add ebx, edi
mov edi, ecx
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x58]
lea ebp, [edx + 1]
add ebx, esi
cmp ebx, ebp
jge 0x55eea9
sub edx, dword [esp + 0x58]
add edx, 2
mov esi, edx
mov ebx, dword [esp + 0x64]
lea ebp, [ecx + 3]
lea edx, [ebx + edi]
cmp edx, ebp
jge 0x55eebe
sub ecx, edi
add ecx, 4
mov ebx, ecx
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x30]
mov ecx, edi
mov edi, ebx
jmp 0x55eece
mov esi, ebx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edi
mov byte [esp + 0x13], 1
cmp eax, esi
je case.0x55ee0d.212
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov dword [ebp + 0x44], eax
mov dword [ebx + 0x44], eax
mov dword [edi + 0x44], eax
mov eax, dword [0x821950]
mov ecx, dword [0x821954]
mov dword [esp + 0x78], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x7c], ecx
push eax
mov ecx, ebp
call fcn.00474d00
lea ecx, [esp + 0xb0]
push eax
push ecx
mov ecx, ebp
call fcn.00474ab0
mov edx, eax
lea ecx, [esp + 0xc4]
call fcn.0045ec50
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xe4]
call fcn.0045ec50
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
lea edx, [esp + 0x7c]
push ecx
push edx
lea ecx, [esp + 0x9c]
lea edx, [esp + 0xa4]
push ecx
push edx
mov ecx, eax
call fcn.00435420
mov ecx, eax
call fcn.0047cc40
push eax
lea ecx, [esp + 0x10c]
call fcn.00453ab0
mov ecx, eax
push 0
sub esp, 0x10
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x64], edx
mov edx, esp
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [0x821c8c]
mov dword [edx + 0xc], eax
call fcn.00698510
cmp esi, 0xe7
jne 0x55f053
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x81a800
call fcn.00628aa0
push 1
push 0
lea ecx, [esp + 0x90]
call fcn.0042ad30
lea edx, [esp + 0x8c]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.0042add0
mov eax, dword [eax]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x70], eax
call fcn.00628aa0
push 1
push 0
lea ecx, [esp + 0x88]
call fcn.0042ad30
lea edx, [esp + 0x84]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.005676e0
mov eax, dword [eax]
lea ecx, [esp + 0x74]
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x78], eax
call fcn.00628aa0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00472140
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00472140
push 0xffffffffffffffff
mov ecx, edi
call fcn.00472140
inc word [esp + 0x14]
lea ecx, [esp + 0x14]
call fcn.0055f620
test al, al
jne 0x55ec65
mov al, byte [esp + 0x13]
test al, al
je 0x55f095
mov ecx, dword [esp + 0x44]
call fcn.0054bf10
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x55f0b3
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x55f0b3
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x1c]
push edx
call fcn.00565450
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 4