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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
cmp byte [0x5bb34a], 0
mov dword [esp + 0x2c], ecx
je 0x4b5090
cmp dword [0x5bb34c], 1
je 0x4b50a0
xor ebp, ebp
add esp, 0x9c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
cmp word [0x5b511d], 0
je 0x4b5090
movzx eax, word [0x5bb348]
mov ebx, dword [0x5bb0d0]
mov edx, dword [0x5bb0cc]
mov word [esp + 0x46], ax
lea eax, [ebx - 0x38]
cmp eax, 0x21f
ja 0x4b50d4
cmp edx, 0x23f
jbe 0x4b5148
mov ecx, dword [0x59ad30]
mov esi, 0xc8
mov edi, esi
sub edi, ecx
mov eax, edi
shr eax, 0x1f
add eax, edi
sar eax, 1
lea edi, [eax + 0x24b]
cmp edi, edx
jge 0x4b5090
add eax, 0x24c
add ecx, eax
cmp ecx, edx
jle 0x4b5090
mov ecx, dword [0x59ad2c]
sub esi, ecx
mov edi, esi
shr edi, 0x1f
add esi, edi
sar esi, 1
lea edi, [esi + 0x37]
cmp edi, ebx
jge 0x4b5090
add esi, 0x38
add ecx, esi
cmp ecx, ebx
jle 0x4b5090
mov ecx, dword [0x5b39c8]
sub edx, eax
sub ebx, esi
add edx, dword [ecx + 0x10]
add ebx, dword [ecx + 0x14]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
jmp 0x4b5162
mov ecx, dword [0x5b39cc]
sar edx, 5
sar eax, 5
add edx, dword [ecx + 0x10]
add eax, dword [ecx + 0x14]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov ebx, dword [0x5b5310]
lea eax, [ebx + ebx]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [esp + 0x34], eax
test ebx, ebx
jle 0x4b5a11
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
nop
mov dword [esp], ebx
mov ecx, 0x5b5300
lea esi, [ebx - 1]
mov ebp, esi
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x4b5230
cmp dword [0x5b5310], ebx
jl 0x4b615d
mov eax, dword [0x5b5314]
lea esi, [ebx - 1]
mov edx, dword [0x5b531d]
mov ebp, esi
imul eax, esi
mov edi, dword [edx + eax]
fld dword [edi + 0x58]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fldz
fcompi st(1)
fstp st(0)
jae 0x4b5230
cmp byte [edi + 9], 8
je 0x4b5230
cmp byte [edi + 0x3b], 0xd
je 0x4b5230
cmp byte [edi + 0x31], 0
je 0x4b5230
cmp word [edi + 0x12], 0
js 0x4b5230
mov ecx, edi
call fcn.0050a720
test eax, eax
je 0x4b5230
movsx eax, word [0x5b532e]
cmp eax, ebx
cmovne edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x34]
mov word [edi + eax*2], bx
add eax, 1
mov dword [esp + 0x38], eax
lea esi, [esi]
nop
mov ebx, esi
test esi, esi
jne 0x4b5190
test byte [0x5bb348], 0x30
jne 0x4b5a24
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4b5c14
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x4b56bd
mov eax, dword [0x5bb328]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [0x5bb324]
mov dword [esp], eax
call fcn.004b16d0
sub esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
je 0x4b5675
mov dword [esp], 0x4c
mov ecx, dword [esp + 0x40]
call fcn.00498e30
sub esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4b5b7f
mov esi, dword [0x5b531d]
mov dword [esp + 0x24], esi
mov esi, dword [0x5b5310]
mov dword [esp + 0x20], esi
mov esi, dword [0x5b5314]
mov dword [esp + 0x28], esi
cmp eax, 0x4c
je 0x4b5e63
cmp eax, 0x53
je 0x4b5f07
cmp eax, 0x41
je 0x4b5eb5
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x38]
xor edi, edi
lea esi, [eax + eax]
mov dword [esp], esi
mov dword [esp + 0x60], esi
call sub.msvcrt.dll_malloc
mov dword [esp + 0x64], ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
add eax, esi
xor esi, esi
mov ebp, eax
lea esi, [esi]
nop
mov eax, dword [esp + 0x34]
lea esi, [esi]
movsx ecx, word [eax]
mov edx, ecx
test ecx, ecx
jle 0x4b6179
cmp ecx, dword [esp + 0x20]
jg 0x4b6179
sub ecx, 1
imul ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + ecx]
movsx ebx, byte [ecx + 0x25]
movsx ecx, word [edi + edi + 0x599aa0]
cmp ebx, ecx
jne 0x4b538c
mov ebx, dword [esp + 0x30]
movsx ecx, si
add esi, 1
mov word [ebx + ecx*2], dx
add eax, 2
cmp ebp, eax
jne 0x4b5348
mov word [edi + edi + 0x5bf4a0], si
cmp edi, 7
je 0x4b56f8
add edi, 1
movsx eax, si
cmp dword [esp + 0x38], eax
jne 0x4b5340
mov ebp, dword [esp + 0x64]
movzx edx, word [esp + 0x38]
mov ecx, 0x5bf4b0
lea eax, [edi + edi + 0x5bf4a0]
lea esi, [esi]
mov word [eax], dx
add eax, 2
cmp ecx, eax
jne 0x4b53c8
lea esi, [esi]
movzx eax, word [esp + 0x46]
mov esi, dword [esp + 0x30]
xor edi, edi
and eax, 3
mov dword [esp + 4], esi
mov word [esp + 0x46], ax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov dword [esp], esi
call fcn.00565f80
mov dword [esp + 0x24], ebp
xor eax, eax
jmp 0x4b54d8
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4b5760
fld dword [edx + 0x58]
fstp dword [esp + 0x7c]
fldz
fld dword [esp + 0x7c]
fcompi st(1)
fstp st(0)
jbe 0x4b5760
movzx edx, byte [edx + 0x22]
cmp byte [eax + 0x39], dl
je 0x4b5c27
mov ecx, dword [esp + 0x40]
call fcn.0050a720
test eax, eax
jne 0x4b5c82
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b5718
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
movsx eax, byte [eax + 0x25]
mov dword [esp], eax
call fcn.004a6590
sub esp, 4
test al, al
je 0x4b5718
cmp byte [ebx + 0x71], 0
jle 0x4b5718
movzx eax, word [edi + 0x599aa0]
mov edx, dword [esp + 0x40]
cmp word [0x5b511d], ax
je 0x4b57fb
nop
mov dword [esp + 0x24], 1
lea esi, [esi]
nop
cmp esi, dword [esp + 0x38]
je 0x4b5910
mov eax, esi
add edi, 2
cmp edi, 0x10
je 0x4b5910
movzx edx, word [edi + 0x5bf4a0]
test dx, dx
je 0x4b54cc
movsx esi, dx
cmp esi, eax
je 0x4b54cc
mov ebx, dword [esp + 0x34]
sub edx, eax
mov ebp, edx
lea ebx, [ebx + eax*2]
movsx eax, word [edi + 0x599aa0]
mov dword [esp + 0x20], ebx
test ax, ax
jle 0x4b5928
cmp dword [0x5b508c], eax
jl 0x4b5928
lea edx, [eax - 1]
mov ecx, dword [0x5b5099]
imul edx, dword [0x5b5090]
mov edx, dword [ecx + edx]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x3c]
movsx edx, byte [edx + 0x25]
cmp edx, eax
je 0x4b5708
movsx eax, bp
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004b4ff0
cwde
sub esp, 8
test eax, eax
jle 0x4b6167
cmp eax, dword [0x5b5310]
jg 0x4b6167
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov ebx, dword [edx + eax]
movsx eax, byte [ebx + 0x22]
mov edx, dword [0x5b6a8c]
mov ecx, dword [esp + 0x4c]
imul eax, eax, 0x84
lea eax, [edx + eax - 0x84]
movzx edx, byte [eax + 0x16]
test ecx, ecx
jne 0x4b5420
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4b5848
fld dword [eax + 0x2c]
fstp dword [esp + 0x88]
fldz
fld dword [esp + 0x88]
fcompi st(1)
fstp st(0)
jbe 0x4b5848
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4b5935
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x24], dl
movsx eax, word [eax + 0xf]
mov dword [esp], eax
call fcn.004a6590
sub esp, 4
test al, al
movzx edx, byte [esp + 0x24]
je 0x4b5935
cmp byte [ebx + 0x71], 0
jle 0x4b5941
movzx eax, word [edi + 0x599aa0]
cmp word [0x5b511d], ax
jne 0x4b54b0
movsx eax, bp
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
movsx eax, word [edx + 0x17]
mov dword [esp + 4], eax
movsx eax, word [edx + 0x15]
mov dword [esp], eax
mov ecx, 0x5b5300
call fcn.00515dd0
sub esp, 0x1c
mov dword [esp + 0x24], 1
jmp 0x4b54c0
mov eax, dword [0x5b5310]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x20], eax
mov eax, dword [0x5b531d]
mov dword [esp + 0x48], 0
mov dword [esp + 0x24], eax
mov eax, dword [0x5b5314]
mov dword [esp + 0x68], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x5c], 0
jmp 0x4b5310
mov eax, dword [esp + 0x34]
movsx eax, word [eax]
test eax, eax
jle 0x4b525f
cmp eax, dword [0x5b5310]
jg 0x4b525f
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov eax, dword [edx + eax]
mov dword [esp + 0x3c], eax
jmp 0x4b525f
mov ebp, dword [esp + 0x64]
jmp 0x4b53d8
mov ebx, dword [esp + 0x3c]
jmp 0x4b557f
mov dword [esp + 0x14], 0
movsx eax, bp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, 0x5b5300
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0051cb40
sub esp, 0x18
mov dword [esp + 0x24], 1
jmp 0x4b54c0
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x4b5785
fld dword [edx + 0x58]
fstp dword [esp + 0x80]
fldz
fld dword [esp + 0x80]
fcompi st(1)
fstp st(0)
ja 0x4b5af3
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4b54c0
fld dword [eax + 0x58]
fstp dword [esp + 0x84]
fldz
fld dword [esp + 0x84]
fcompi st(1)
fstp st(0)
jbe 0x4b54c0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b5718
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
movsx eax, byte [eax + 0x25]
mov dword [esp], eax
call fcn.004a6590
sub esp, 4
test al, al
je 0x4b5718
cmp byte [ebx + 0x71], 0
jle 0x4b5718
movzx eax, word [edi + 0x599aa0]
mov edx, dword [esp + 0x68]
cmp word [0x5b511d], ax
jne 0x4b54b0
movsx eax, word [edx + 6]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0x18], eax
movsx eax, bp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
movzx eax, word [edx + 0x1c]
sar ax, 5
cwde
mov dword [esp + 4], eax
movzx eax, word [edx + 0x1a]
mov word [esp + 0x20], ax
sar ax, 5
cwde
jmp 0x4b5658
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4b5a6a
cmp word [ebx + 0x67], 0
je 0x4b586b
movsx ecx, byte [ebx + 0x25]
movsx eax, word [eax + 4]
cmp ecx, eax
je 0x4b5e2f
test dl, dl
jle 0x4b5884
mov eax, dword [esp + 0x50]
movzx edx, word [0x5b511d]
cmp word [eax + 4], dx
je 0x4b5fe4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b5718
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
movsx eax, word [eax + 4]
mov dword [esp], eax
call fcn.004a6590
sub esp, 4
test al, al
je 0x4b5718
cmp byte [ebx + 0x71], 0
jle 0x4b5718
movzx eax, word [edi + 0x599aa0]
cmp word [0x5b511d], ax
jne 0x4b54b0
movsx eax, bp
mov edx, dword [esp + 0x50]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
movsx eax, word [edx + 0x15]
mov dword [esp + 4], eax
movsx eax, word [edx + 0x13]
jmp 0x4b5658
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00565f80
jmp 0x4b5092
mov dword [esp + 0x28], 0
jmp 0x4b552d
cmp word [esp + 0x46], 0
jne 0x4b5603
movsx eax, bp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
cmp byte [eax + 4], 1
je 0x4b5d08
movsx eax, word [0x5b511d]
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x28], dl
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
movsx eax, word [eax + 7]
mov dword [esp + 4], eax
movsx eax, word [ebx + 6]
mov dword [esp], eax
call fcn.004b4020
sub esp, 0xc
test eax, eax
movzx edx, byte [esp + 0x28]
je 0x4b5a00
mov eax, dword [esp + 0x48]
movzx eax, byte [eax + 4]
test dl, dl
jle 0x4b5de0
mov edx, dword [esp + 0x48]
movsx ecx, word [edx + 0x17]
movsx edx, word [edx + 0x15]
cmp al, 5
je 0x4b5f59
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov ecx, 0x5b5300
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp], edx
call fcn.00511890
sub esp, 0x18
mov dword [esp + 0x24], 1
jmp 0x4b54c0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
lea esi, [esi]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x24]
jmp 0x4b5723
test byte [esp + 0x46], 0x30
je 0x4b5c14
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ecx, 0x5b5300
mov dword [esp + 0x10], 0
mov ebp, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.00512730
sub esp, 0x14
mov dword [esp], esi
call fcn.00565f80
jmp 0x4b5092
movsx eax, bp
cmp dword [0x5bb0dc], 1
mov dword [esp + 0x24], eax
jle 0x4b5a00
mov ecx, 0x5b8ac0
call fcn.004ba5f0
test eax, eax
jne 0x4b5f96
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4b5a00
mov edx, dword [0x5b5314]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x30], esi
mov ecx, dword [0x5b5310]
mov ebx, dword [0x5b531d]
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x28]
mov edx, ebp
lea ebp, [ebp + eax*2]
movsx eax, word [edx]
test eax, eax
jle 0x4b6170
cmp eax, ecx
jg 0x4b6170
sub eax, 1
add edx, 2
imul eax, esi
mov eax, dword [ebx + eax]
mov byte [eax + 0x9f], 1
cmp ebp, edx
jne 0x4b5ac0
mov esi, dword [esp + 0x30]
jmp 0x4b5a00
mov ecx, edx
call fcn.0050a720
test eax, eax
je 0x4b5cb0
mov edx, dword [esp + 0x5c]
movsx eax, byte [edx + 0x22]
imul eax, eax, 0x84
add eax, dword [0x5b6a8c]
cmp byte [eax - 0x4f], 0
jle 0x4b54b0
movsx eax, word [edx + 6]
mov dword [esp + 0x14], 0
mov ecx, 0x5b5300
mov dword [esp + 8], 0
mov dword [esp + 0x18], eax
movsx eax, bp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
movzx eax, word [edx + 0x1c]
sar ax, 5
cwde
mov dword [esp + 4], eax
movzx eax, word [edx + 0x1a]
mov word [esp + 0x20], ax
sar ax, 5
cwde
mov dword [esp], eax
call fcn.00510dc0
sub esp, 0x1c
mov dword [esp + 0x24], 1
jmp 0x4b54c0
mov esi, dword [0x5b531d]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], esi
mov esi, dword [0x5b5310]
movzx eax, word [eax]
mov dword [esp + 0x20], esi
mov esi, dword [0x5b5314]
and ax, 0xf00
mov dword [esp + 0x28], esi
cmp ax, 0x400
je 0x4b5d88
cmp ax, 0x300
jne 0x4b52e8
mov eax, dword [esp + 0x40]
movsx eax, word [eax + 4]
test eax, eax
jle 0x4b52e8
cmp dword [0x5b522c], eax
jl 0x4b52e8
sub eax, 1
imul eax, dword [0x5b5230]
mov edx, dword [0x5b5239]
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov eax, dword [edx + eax]
mov dword [esp + 0x40], 0
mov dword [esp + 0x50], eax
jmp 0x4b5310
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov dword [esp], eax
call fcn.00565f80
jmp 0x4b5092
movsx eax, bp
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x1c]
sar ax, 5
cwde
mov dword [esp + 4], eax
movzx eax, word [edx + 0x1a]
mov word [esp + 0x20], ax
sar ax, 5
cwde
mov dword [esp], eax
mov ecx, 0x5b5300
call fcn.00511890
sub esp, 0x18
mov dword [esp + 0x24], 1
jmp 0x4b54c0
mov ebx, dword [esp + 0x40]
mov ecx, ebx
call fcn.0050a720
test eax, eax
je 0x4b54c0
cmp byte [ebx + 0x22], 0xd
jne 0x4b54c0
cmp word [esp + 0x46], 0
je 0x4b54c0
jmp 0x4b5496
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b5718
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
movsx eax, byte [eax + 0x25]
mov dword [esp], eax
call fcn.004a6590
sub esp, 4
test al, al
je 0x4b5718
cmp byte [ebx + 0x71], 0
jle 0x4b5718
movzx eax, word [edi + 0x599aa0]
cmp word [0x5b511d], ax
jne 0x4b54b0
mov edx, dword [esp + 0x5c]
jmp 0x4b57fb
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, eax
lea eax, [eax + ecx*2]
test ecx, ecx
jle 0x4b5a00
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x30], edi
mov edi, ebp
mov ebp, eax
mov byte [esp + 0x60], dl
jmp 0x4b5d4b
add edi, 2
cmp ebp, edi
je 0x4b59f2
movsx eax, word [0x5b511d]
mov ecx, esi
mov dword [esp + 8], eax
movsx eax, word [ebx + 7]
mov dword [esp + 4], eax
movsx eax, word [edi]
mov dword [esp], eax
call fcn.004b4020
sub esp, 0xc
test eax, eax
je 0x4b5d40
mov esi, dword [esp + 0x28]
movzx edx, byte [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x30]
jmp 0x4b598d
mov eax, dword [esp + 0x40]
movsx eax, word [eax + 4]
test eax, eax
jle 0x4b52e8
cmp dword [0x5b504c], eax
jl 0x4b52e8
sub eax, 1
imul eax, dword [0x5b5050]
mov edx, dword [0x5b5059]
mov dword [esp + 0x50], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov eax, dword [edx + eax]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], eax
jmp 0x4b5310
cmp al, 5
je 0x4b5f59
cmp byte [ebx + 8], 0x53
jne 0x4b5a00
cmp al, 9
jne 0x4b5a00
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
movsx eax, word [edx + 0x17]
mov dword [esp + 4], eax
movsx eax, word [edx + 0x15]
jmp 0x4b5c65
movsx eax, bp
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
movsx eax, word [edx + 0x15]
mov dword [esp + 4], eax
movsx eax, word [edx + 0x13]
jmp 0x4b5c65
mov eax, dword [esp + 0x40]
movsx eax, word [eax + 4]
test eax, eax
jle 0x4b52e8
cmp eax, dword [esp + 0x20]
jg 0x4b52e8
sub eax, 1
imul eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 0
mov eax, dword [esi + eax]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x40], eax
jmp 0x4b5310
mov eax, dword [esp + 0x40]
movsx eax, word [eax + 6]
test eax, eax
jle 0x4b52e8
cmp eax, dword [esp + 0x20]
jg 0x4b52e8
sub eax, 1
imul eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esi + eax]
mov dword [esp + 0x40], 0
mov dword [esp + 0x68], eax
jmp 0x4b5310
mov eax, dword [esp + 0x40]
movsx eax, word [eax + 4]
test eax, eax
jle 0x4b52e8
cmp eax, dword [esp + 0x20]
jg 0x4b52e8
sub eax, 1
imul eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 0
mov eax, dword [esi + eax]
mov dword [esp + 0x40], 0
mov dword [esp + 0x5c], eax
jmp 0x4b5310
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov ecx, 0x5b5300
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
movsx eax, word [edx + 0x17]
mov dword [esp + 4], eax
movsx eax, word [edx + 0x15]
mov dword [esp], eax
call fcn.00511f90
sub esp, 0x14
jmp 0x4b54b0
movsx ebx, bp
mov dword [esp], 0x25e1
mov ecx, 0x5b8ac0
lea eax, [ebx + ebx + 2]
mov dword [esp + 4], eax
call fcn.004ba910
mov edx, eax
mov word [eax], bp
sub esp, 8
add edx, 2
test ebx, ebx
jle 0x4b5a00
mov ecx, dword [esp + 0x20]
mov eax, ecx
lea ecx, [ecx + ebx*2]
movzx ebx, word [eax]
add eax, 2
add edx, 2
mov word [edx - 2], bx
cmp ecx, eax
jne 0x4b5fce
jmp 0x4b5a00
movsx eax, bp
lea ebx, [eax + eax]
mov dword [esp], ebx
call sub.msvcrt.dll_malloc
mov dword [esp], ebx
mov dword [esp + 0x24], eax
call sub.msvcrt.dll_malloc
mov dword [esp + 0x30], eax
test bp, bp
jle 0x4b612f
mov eax, dword [0x5b5310]
mov dword [esp + 0x6c], esi
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [0x5b531d]
mov dword [esp + 0x60], eax
mov eax, dword [0x5b5314]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
lea edx, [eax + ebx]
mov dword [esp + 0x20], edx
xor edx, edx
jmp 0x4b604f
mov ebx, dword [esp + 0x24]
mov word [ebx + edx*2], cx
add edx, 1
add eax, 2
cmp dword [esp + 0x20], eax
je 0x4b60ab
movsx ebx, word [eax]
mov ecx, ebx
test ebx, ebx
jle 0x4b6154
cmp ebx, dword [esp + 0x28]
jg 0x4b6154
sub ebx, 1
imul ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov ebx, dword [esi + ebx]
cmp byte [ebx + 8], 0x4c
jne 0x4b603b
cmp byte [ebx + 0x23], 0
jne 0x4b603b
cmp byte [ebx + 0x5f], 0
jg 0x4b603b
cmp word [ebx + 0x67], 0
je 0x4b609e
movsx esi, byte [ebx + 0x25]
mov ebx, dword [esp + 0x50]
movsx ebx, word [ebx + 4]
cmp esi, ebx
jne 0x4b603b
mov esi, dword [esp + 0x30]
mov word [esi + ebp*2], cx
add ebp, 1
jmp 0x4b6046
mov esi, dword [esp + 0x6c]
test edx, edx
je 0x4b60ef
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
mov ecx, 0x5b5300
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
movsx eax, word [edx + 0x15]
mov dword [esp + 4], eax
movsx eax, word [edx + 0x13]
mov dword [esp], eax
call fcn.0051cb40
sub esp, 0x18
test ebp, ebp
je 0x4b612f
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], ebp
mov ecx, 0x5b5300
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
movsx eax, word [edx + 0x15]
mov dword [esp + 4], eax
movsx eax, word [edx + 0x13]
mov dword [esp], eax
call fcn.00511890
sub esp, 0x18
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00565f80
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00565f80
mov dword [esp + 0x24], 1
jmp 0x4b54c0
movzx eax, byte [8]
ud2
fld dword [0x58]
fstp st(0)
ud2
movzx eax, byte [0x22]
ud2
mov byte [0x9f], 0
ud2
movzx eax, byte [0x25]
ud2