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

Disassembly:
sub esp, 0x2a0
push ebx
mov ebx, dword [esp + 0x2a8]
push ebp
push esi
push edi
mov eax, dword [ebx + 4]
xor edi, edi
mov ebp, dword [ebx + 8]
mov dword [esp + 0x58], eax
push 0x38
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
push edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
lea esi, [eax + eax*2]
mov dword [esp + 0x2c], ebp
shl esi, 4
lea eax, [esp + 0x70]
add esi, ecx
push eax
mov dword [esp + 0x28], esi
call sub.MSVCRT.dll_memset
movzx eax, byte [ebp + 0x10]
add esp, 0xc
lea ecx, [eax + eax*8]
mov eax, dword [ebx]
mov eax, dword [eax + 4]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x64], eax
cmp ecx, esi
jae 0x5507de
mov bx, word [esp + 0x68]
mov edx, 0x200
mov esi, dword [esp + 0x2bc]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
test edi, edi
jne 0x5507de
test word [ecx + 0xc], dx
je 0x5507cf
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx + 0x1a0]
mov eax, dword [edx + 0x1a4]
and ecx, dword [ebp + 8]
and eax, dword [ebp + 0xc]
or ecx, eax
je 0x5507c2
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x2b4]
mov dword [esp + 0x38], 1
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [edx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x4c], eax
mov ebp, dword [edx + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ebp
cmp ebp, eax
jae 0x550727
mov ecx, 0x400
test word [ebp + 0xc], cx
je 0x550425
mov eax, dword [ebp + 0x18]
jmp 0x550472
mov ecx, dword [esp + 0x64]
cmp dword [ebp + 0x14], ecx
jne 0x55070b
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x114], ecx
mov byte [esp + 0x118], 0x2c
mov dword [esp + 0x11c], 1
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], ebp
mov dword [esp + 0x44], eax
xor eax, eax
mov word [esp + 0xa0], ax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x2b], 1
lea eax, [esp + 0x40]
jne 0x5504b8
push dword [esp + 0x2c4]
push dword [esp + 0x2c4]
push esi
push dword [esp + 0x2c4]
push eax
call fcn.00550800
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
jmp 0x5504cf
push esi
push dword [esp + 0x2bc]
push eax
call fcn.0054f5f0
add esp, 0xc
mov dword [esp + 0x14], eax
mov edi, eax
test edi, edi
jne 0x5504fa
push dword [esp + 0x2c4]
lea eax, [esp + 0x44]
push dword [esp + 0x2c4]
push esi
push dword [esp + 0x2c4]
push eax
call fcn.005502f0
add esp, 0x14
mov dword [esp + 0x14], eax
mov si, word [esp + 0xa0]
test si, si
je 0x55071c
cmp dword [esp + 0x38], 0
je 0x550540
movzx eax, si
shl eax, 4
push eax
lea eax, [esp + 0xac]
mov word [esp + 0x6c], si
push eax
lea eax, [esp + 0x78]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov dword [esp + 0x38], 0
jmp 0x5506f7
movzx eax, bx
shl eax, 4
push eax
lea eax, [esp + 0x74]
mov word [esp + 0xdc], bx
push eax
lea eax, [esp + 0xe8]
push eax
call sub.MSVCRT.dll_memcpy
movzx ecx, word [esp + 0xe4]
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x10], ebx
mov word [esp + 0x68], bx
mov dword [esp + 0x30], ecx
test ecx, ecx
jle 0x550700
lea edx, [esp + 0xe8]
movzx eax, si
mov dword [esp + 0x2c], edx
jmp 0x5505a0
mov dword [esp + 0x34], 0
test eax, eax
jle 0x5506e1
mov ebx, dword [edx - 8]
lea edi, [esp + 0xb0]
movzx eax, word [edx + 2]
movzx ebp, word [edx]
mov edx, dword [edx - 4]
mov dword [esp + 0x60], ebx
mov ebx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x10], edi
movzx eax, word [edi + 2]
movsx edx, ax
cmp bx, ax
jl 0x55060c
movsx ecx, bx
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x5505ec
mov edi, ebx
jmp 0x550636
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x5505fb
lea eax, [ebx + 1]
movzx edi, ax
jmp 0x550636
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bx
movzx edi, ax
jmp 0x550636
movsx esi, bx
lea ecx, [esi + 0x31]
cmp edx, ecx
jle 0x55061a
mov edi, eax
jmp 0x550636
lea ecx, [esi + 0x1f]
cmp edx, ecx
jle 0x550627
inc eax
movzx edi, ax
jmp 0x550636
sub edx, esi
movzx ecx, byte [edx + str._n_n_t_t_b_b_a_a_a]
add cx, ax
movzx edi, cx
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
movsx edx, cx
cmp bp, cx
jl 0x55066d
movsx ecx, bp
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x550653
mov eax, ebp
jmp 0x550696
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x55065f
lea eax, [ebp + 1]
jmp 0x550693
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bp
jmp 0x550693
movsx esi, bp
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x55067b
mov eax, ecx
jmp 0x550696
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x550687
lea eax, [ecx + 1]
jmp 0x550693
sub edx, esi
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
push edi
mov edi, dword [esp + 0x14]
push eax
mov eax, dword [edi - 4]
or eax, dword [esp + 0x64]
mov ecx, dword [edi - 8]
or ecx, dword [esp + 0x68]
push eax
push ecx
lea eax, [esp + 0x78]
push eax
call fcn.00551a00
mov edx, dword [esp + 0x48]
add edi, 0x10
movzx eax, word [esp + 0xb4]
inc edx
add esp, 0x14
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], edi
cmp edx, eax
jl 0x5505d2
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add edx, 0x10
dec ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
jne 0x5505a0
mov ebp, dword [esp + 0x28]
mov bx, word [esp + 0x68]
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x2bc]
mov eax, dword [esp + 0x20]
add ebp, 0x30
mov dword [esp + 0x28], ebp
cmp ebp, eax
jb 0x550415
jmp 0x550727
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov word [esp + 0x68], bx
mov ebp, dword [esp + 0x24]
mov eax, 1
mov ecx, dword [esp + 0x18]
xor edi, edi
mov word [ebp + 0x30], ax
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
xor eax, eax
mov dword [ebp + 0x2c], 0x2000
mov word [ebp + 0x12], ax
mov byte [ebp + 0x11], al
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], eax
cmp dword [esp + 0x14], eax
jne 0x5507eb
movzx ebp, bx
lea esi, [esp + 0x7a]
mov ebx, dword [esp + 0x24]
cmp edi, ebp
jge 0x5507af
movzx eax, word [esi - 2]
inc ax
mov word [ebx + 0x14], ax
movzx eax, word [esi]
mov word [ebx + 0x16], ax
mov eax, dword [esi - 0xa]
push ebx
push dword [esp + 0x2b8]
mov dword [ebx], eax
mov eax, dword [esi - 6]
mov dword [ebx + 4], eax
call fcn.005513d0
add esp, 8
mov dword [esp + 0x14], eax
inc edi
add esi, 0x10
test eax, eax
je 0x550773
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2bc]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, 0x200
add ecx, 0x30
mov dword [esp + 0x18], ecx
cmp ecx, eax
jb 0x550380
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x2bc]
jmp 0x5507c6