Function at 0x55e240
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, 0x4a
jl 0x55e281
cmp eax, 0x65
jle 0x55e260
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 0x55e2a8
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 0x55e2cf
cmp eax, 0x40000
jge 0x55e2cf
mov eax, dword [edi + eax*4]
cmp eax, edx
je 0x55e2cf
mov ebp, eax
jmp 0x55e2dd
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 0x55e313
cmp eax, 0x40000
jge 0x55e313
mov eax, dword [edi + eax*4]
test eax, eax
je 0x55e313
mov dword [esp + 0x40], eax
jmp 0x55e324
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 0x55e34f
cmp eax, 0x40000
jge 0x55e34f
mov eax, dword [edi + eax*4]
test eax, eax
je 0x55e34f
mov dword [esp + 0x34], eax
jmp 0x55e361
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 0x55e410
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x55e410
mov ebx, dword [esi + 8]
test ebx, ebx
mov dword [esp + 0x70], ebx
jle 0x55e403
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov dword [esp + 0x2c], ecx
jle 0x55e403
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 0x55e3c0
sub edx, ecx
add ebp, edx
mov edx, ecx
mov esi, dword [esi + 4]
cmp edi, esi
mov dword [esp + 0x68], esi
jle 0x55e3d1
sub edi, esi
add eax, edi
mov edi, esi
lea esi, [ecx + ebx]
lea ebx, [edx + ebp]
cmp ebx, esi
jge 0x55e3e5
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 0x55e3fb
sub ecx, edi
inc ecx
mov eax, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x30]
jmp 0x55e41b
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
jmp 0x55e41b
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 - 0x4e]
cmp eax, 0x16
ja case.0x55e446.81
xor edx, edx
mov dl, byte [eax + 0x55e704]
jmp dword [edx*4 + 0x55e6f4]
mov eax, 0x5c
jmp 0x55e51e
mov eax, 0x5e
jmp 0x55e51e
mov edx, 3
xor ecx, ecx
call fcn.00576440
movsx ecx, word [esp + 0x16]
mov esi, dword [esp + 0x24]
add eax, 0x4a
movsx edx, word [esp + 0x14]
dec ecx
mov ebx, 1
test esi, esi
mov edi, 3
jle 0x55e503
cmp dword [esp + 0x28], 0
jle 0x55e503
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 0x55e4b8
sub esi, edx
mov dword [esp + 0x58], edx
add esi, ebx
cmp edi, ecx
jle 0x55e4ca
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 0x55e4e0
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 0x55e4f5
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 0x55e505
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.0x55e446.81
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, 0x64
jne 0x55e687
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.0055f5d0
test al, al
jne 0x55e2a1
mov al, byte [esp + 0x13]
test al, al
je 0x55e6c9
mov ecx, dword [esp + 0x44]
call fcn.0054bf10
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x55e6e7
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x55e6e7
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