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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [0x5b39cc]
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
test edi, edi
lea eax, [edi + 0x1f]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
cmovns eax, edi
mov ebp, ecx
sar eax, 5
add eax, ebx
sub ebp, 0x38
mov dword [esp + 0x40], eax
lea eax, [ecx - 0x19]
cmovns eax, ebp
sar eax, 5
lea ecx, [eax + edx]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xac]
sub eax, 0x19
sub ecx, 0x38
cmovns eax, ecx
mov dword [esp + 0x30], ecx
mov ecx, 3
sar eax, 5
cmp dword [esp + 0x40], ecx
cmovge ecx, dword [esp + 0x40]
sub ecx, 3
mov dword [esp + 0x38], ecx
mov ecx, 3
cmp dword [esp + 0x48], ecx
cmovge ecx, dword [esp + 0x48]
sub ecx, 3
test esi, esi
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 0x1f]
cmovns ecx, esi
sar ecx, 5
lea ebx, [ebx + ecx + 3]
mov ecx, dword [0x59ad30]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x28], ecx
lea ebx, [ecx - 1]
mov ecx, ebx
lea ebx, [edx + eax + 3]
mov eax, dword [0x59ad2c]
cmovl ecx, dword [esp + 0x28]
lea edx, [eax - 1]
cmp ebx, eax
mov dword [esp + 0x28], ecx
cmovl edx, ebx
mov dword [esp + 0x34], edx
movsx edx, word [0x5cca2a]
lea eax, [edx + edi]
sub edi, esi
add edx, esi
mov dword [esp + 0x44], eax
movsx eax, word [0x5cca28]
mov dword [esp + 0x58], edx
lea ebx, [ebp + eax]
add eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
lea eax, [edi + 3]
mov dword [esp + 0x3c], ebx
cmp eax, 6
ja 0x4b1c0b
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0xac]
add eax, 3
cmp eax, 6
jbe 0x4b2437
movzx eax, word [0x5b511d]
mov ebp, dword [esp + 0xb4]
mov word [esp + 0x40], ax
test ebp, ebp
je 0x4b1c32
movsx eax, word [0x5b532e]
test ax, ax
jne 0x4b24d1
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x30], eax
cmp dword [esp + 0x34], eax
jl 0x4b2621
lea esi, [esi]
mov eax, dword [esp + 0x38]
mov ebp, eax
cmp dword [esp + 0x28], eax
jl 0x4b1dd5
lea esi, [esi]
nop
mov esi, dword [esp + 0x30]
imul esi, dword [0x59ad30]
mov edi, 0x41
xor ebx, ebx
add esi, ebp
imul esi, esi, 0xe
add esi, dword [0x5b39d0]
mov eax, edi
mov ecx, esi
movsx eax, al
mov dword [esp], eax
call fcn.00498de0
sub esp, 4
test eax, eax
je 0x4b1db0
mov eax, edi
cmp al, 0x41
je 0x4b2188
movsx eax, word [esi + 4]
mov ecx, 0x5b5300
mov dword [esp], eax
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x4b1db0
movsx eax, word [esi + 4]
test eax, eax
jle 0x4b2c94
cmp dword [0x5b5310], eax
jl 0x4b2c94
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov edi, dword [edx + eax]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test eax, eax
jne 0x4b1db0
cmp word [edi + 0x12], 0
js 0x4b1db0
fld dword [edi + 0x58]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fldz
fcompi st(1)
fstp st(0)
jae 0x4b1db0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test eax, eax
jne 0x4b1db0
mov ecx, edi
call fcn.0050a720
test eax, eax
je 0x4b1db0
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], 0
call dword [eax + 0x2c]
movsx eax, word [0x5c71b2]
movsx edx, word [0x5c71b6]
sub esp, 4
movsx ecx, word [0x5c71b0]
mov dword [esp + 0x48], eax
movsx eax, word [0x5c71b4]
cmp ecx, dword [esp + 0x3c]
jl 0x4b21ad
cmp eax, dword [esp + 0x3c]
jg 0x4b21b7
mov eax, dword [esp + 0x44]
cmp edx, eax
jg 0x4b21cd
cmp dword [esp + 0x48], eax
jl 0x4b220b
movsx eax, byte [edi + 0x25]
add word [esp + eax*2 + 0x70], 1
add ebx, 1
cmp ebx, 3
je 0x4b1dc8
movzx edi, byte [ebx + 0x5a460c]
jmp 0x4b1c9d
add ebp, 1
cmp dword [esp + 0x28], ebp
jge 0x4b1c80
add dword [esp + 0x30], 1
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x34], eax
jge 0x4b1c68
movsx eax, word [0x5b511d]
cmp word [esp + eax*2 + 0x70], 0
mov eax, 0xffffffff
cmovne ax, word [esp + 0x40]
cmp dword [esp + 0xb4], 1
mov word [esp + 0x40], ax
mov eax, 1
adc al, 0
mov byte [esp + 0x57], al
movsx eax, word [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x34], edx
jl 0x4b2239
lea esi, [esi]
nop
mov eax, dword [esp + 0x38]
mov ebp, eax
cmp dword [esp + 0x28], eax
jl 0x4b1fc5
mov esi, dword [esp + 0x2c]
imul esi, dword [0x59ad30]
mov edi, 0x41
xor ebx, ebx
add esi, ebp
imul esi, esi, 0xe
add esi, dword [0x5b39d0]
mov eax, edi
mov ecx, esi
movsx eax, al
mov dword [esp], eax
call fcn.00498de0
sub esp, 4
test eax, eax
je 0x4b1fa0
mov eax, edi
cmp al, 0x41
je 0x4b2160
movsx eax, word [esi + 4]
mov ecx, 0x5b5300
mov dword [esp], eax
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x4b1fa0
movsx eax, word [esi + 4]
test eax, eax
jle 0x4b2c94
cmp dword [0x5b5310], eax
jl 0x4b2c94
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov edi, dword [edx + eax]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test eax, eax
jne 0x4b1fa0
cmp word [edi + 0x12], 0
js 0x4b1fa0
fld dword [edi + 0x58]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fldz
fcompi st(1)
fstp st(0)
jae 0x4b1fa0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test eax, eax
jne 0x4b1fa0
mov ecx, edi
call fcn.0050a720
test eax, eax
je 0x4b1fa0
cmp word [esp + 0x40], 0xffff
je 0x4b1f35
movsx eax, byte [edi + 0x25]
cmp eax, dword [esp + 0x4c]
jne 0x4b1fa0
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], 0
call dword [eax + 0x2c]
movsx eax, word [0x5c71b2]
movsx edx, word [0x5c71b6]
sub esp, 4
movsx ecx, word [0x5c71b0]
mov dword [esp + 0x48], eax
movsx eax, word [0x5c71b4]
cmp ecx, dword [esp + 0x3c]
jl 0x4b21dc
cmp eax, dword [esp + 0x3c]
jg 0x4b21e6
mov eax, dword [esp + 0x44]
cmp edx, eax
jg 0x4b21fc
cmp dword [esp + 0x48], eax
jl 0x4b2222
movzx eax, byte [esp + 0x57]
add dword [esp + 0x30], 1
mov byte [edi + 0x31], al
lea esi, [esi]
add ebx, 1
cmp ebx, 3
je 0x4b1fb8
movzx edi, byte [ebx + 0x5a460c]
jmp 0x4b1e6d
add ebp, 1
cmp dword [esp + 0x28], ebp
jge 0x4b1e50
add dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x34], eax
jge 0x4b1e40
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4b2239
mov byte [esp + 0x2c], 0
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x34], 0
mov ebx, dword [0x5b5310]
xor ebp, ebp
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x4b2024
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x4b208e
test ebx, ebx
jle 0x4b262b
mov esi, dword [esp + 0x30]
jmp 0x4b206d
cmp dword [0x5b5310], ebx
jl 0x4b2c70
mov eax, dword [0x5b5314]
sub ebx, 1
mov edx, dword [0x5b531d]
imul eax, ebx
mov edi, dword [edx + eax]
movzx eax, byte [edi + 0x31]
test al, al
je 0x4b2069
cmp esi, 1
jne 0x4b2252
sub eax, 1
mov byte [edi + 0x31], al
test ebx, ebx
je 0x4b2088
mov dword [esp], ebx
mov ecx, 0x5b5300
call fcn.0050f960
sub esp, 4
test eax, eax
je 0x4b2032
sub ebx, 1
test ebx, ebx
jne 0x4b206d
mov ebx, dword [0x5b5310]
xor edi, edi
mov word [0x5b5330], di
test ebx, ebx
jle 0x4b2633
mov dword [esp + 0x3c], ebp
xor edi, edi
jmp 0x4b20ba
lea eax, [ebx - 1]
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4b228d
mov dword [esp], ebx
mov ecx, 0x5b5300
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x4b20a7
mov edx, dword [0x5b5310]
cmp edx, ebx
jl 0x4b2c70
mov ebp, dword [0x5b5314]
lea eax, [ebx - 1]
mov esi, dword [0x5b531d]
mov dword [esp + 0x28], eax
mov ecx, ebp
imul ecx, eax
mov ecx, dword [esi + ecx]
cmp byte [ecx + 0x31], 0
je 0x4b20ae
add word [0x5b5330], 1
test edi, edi
je 0x4b227f
cmp edx, edi
jl 0x4b2c8b
lea edx, [edi - 1]
imul edx, ebp
mov edx, dword [esi + edx]
movzx eax, byte [edx + 0x23]
cmp byte [ecx + 0x23], al
jg 0x4b227f
jne 0x4b20ae
movsx esi, byte [ecx + 0x22]
mov ebp, dword [0x5b6a8c]
imul esi, esi, 0x84
cmp byte [ebp + esi - 0x6d], 0x48
je 0x4b226a
cmp byte [ecx + 0x5f], 0
je 0x4b20ae
cmp byte [edx + 0x5f], 0
cmove edi, ebx
jmp 0x4b20ae
movsx eax, word [esi + 6]
mov ecx, 0x5b5300
mov dword [esp], eax
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x4b1fa0
movsx eax, word [esi + 6]
jmp 0x4b1eb1
movsx eax, word [esi + 6]
mov ecx, 0x5b5300
mov dword [esp], eax
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x4b1db0
movsx eax, word [esi + 6]
jmp 0x4b1ce1
cmp eax, dword [esp + 0x3c]
jl 0x4b1db0
cmp eax, dword [esp + 0x50]
jg 0x4b1db0
mov eax, dword [esp + 0x44]
cmp edx, eax
jle 0x4b1d9c
cmp edx, dword [esp + 0x58]
jle 0x4b1da6
jmp 0x4b1db0
cmp eax, dword [esp + 0x3c]
jl 0x4b1fa0
cmp eax, dword [esp + 0x50]
jg 0x4b1fa0
mov eax, dword [esp + 0x44]
cmp edx, eax
jle 0x4b1f86
cmp edx, dword [esp + 0x58]
jle 0x4b1f90
jmp 0x4b1fa0
cmp edx, eax
jl 0x4b1db0
cmp edx, dword [esp + 0x58]
jle 0x4b1da6
jmp 0x4b1db0
cmp edx, eax
jl 0x4b1fa0
cmp edx, dword [esp + 0x58]
jle 0x4b1f90
jmp 0x4b1fa0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
mov ecx, edi
call fcn.0050a720
test eax, eax
je 0x4b242e
movzx eax, byte [edi + 0x31]
jmp 0x4b2063
movsx esi, byte [edx + 0x22]
imul esi, esi, 0x84
cmp byte [ebp + esi - 0x6d], 0x48
je 0x4b2148
mov edi, ebx
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x4b20ba
mov word [0x5b532e], di
mov ebp, dword [esp + 0x3c]
movsx eax, di
test di, di
je 0x4b25b0
cmp byte [esp + 0x2c], 0
jne 0x4b2369
test eax, eax
jle 0x4b2767
cmp eax, dword [0x5b5310]
jg 0x4b2767
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov ecx, dword [edx + eax]
call fcn.0050a720
mov ebx, 1
test eax, eax
jne 0x4b26d1
test ebp, ebp
je 0x4b2324
test bl, bl
je 0x4b2324
test ebp, ebp
jle 0x4b261a
cmp dword [0x5b504c], ebp
jl 0x4b261a
lea eax, [ebp - 1]
mov edx, dword [0x5b5059]
imul eax, dword [0x5b5050]
mov ecx, dword [edx + eax]
call fcn.0042abc0
test eax, eax
jne 0x4b23b6
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b2369
test bl, bl
je 0x4b2369
test eax, eax
jle 0x4b2c79
cmp eax, dword [0x5b522c]
jg 0x4b2c79
lea ebx, [eax - 1]
mov eax, dword [0x5b5230]
mov edx, dword [0x5b5239]
imul eax, ebx
mov eax, dword [edx + eax]
movzx edx, word [0x5b511d]
cmp word [eax + 4], dx
je 0x4b2532
mov eax, dword [esp + 0x34]
mov dword [0x5b5068], ebp
mov dword [0x5b5248], eax
movzx eax, word [esp + 0x38]
mov word [0x5b52a7], ax
movzx eax, word [esp + 0x40]
mov word [0x5b6690], ax
movzx eax, word [esp + 0x48]
mov word [0x5b6692], ax
mov eax, dword [esp + 0x5c]
mov dword [eax], 0
test ebp, ebp
jne 0x4b23fd
mov ecx, 0x5b4640
call fcn.00493240
jmp 0x4b2241
call fcn.004d1850
test eax, eax
jne 0x4b264c
mov eax, dword [esp + 0x34]
mov dword [0x5b5068], ebp
mov dword [0x5b5248], eax
movzx eax, word [esp + 0x38]
mov word [0x5b52a7], ax
movzx eax, word [esp + 0x40]
mov word [0x5b6690], ax
movzx eax, word [esp + 0x48]
mov word [0x5b6692], ax
mov eax, dword [esp + 0x5c]
mov dword [eax], 0
test ebp, ebp
jle 0x4b252b
cmp dword [0x5b504c], ebp
jl 0x4b252b
lea eax, [ebp - 1]
mov edx, dword [0x5b5059]
imul eax, dword [0x5b5050]
mov ecx, dword [edx + eax]
call fcn.004350a0
jmp 0x4b23a7
mov byte [edi + 0x31], 0
jmp 0x4b2069
lea eax, [esp + 0x70]
mov dword [esp], esi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.004b16d0
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x4b2474
movzx eax, byte [esp + 0x70]
cmp al, 0x41
je 0x4b27d7
cmp al, 0x4c
je 0x4b276e
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x4b2239
mov eax, dword [esp + 0x48]
imul eax, dword [0x59ad30]
add eax, dword [esp + 0x40]
imul eax, eax, 0xe
add eax, dword [0x5b39d0]
movzx edx, word [eax]
mov ecx, edx
and dx, 0xf0
and cx, 0xf00
cmp dx, 0x10
je 0x4b25c0
cmp cx, 0x500
jne 0x4b2239
mov dword [esp + 0x30], 1
jmp 0x4b1ff9
mov dword [esp], eax
mov ecx, 0x5b5300
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x4b2610
movsx eax, word [0x5b532e]
test eax, eax
jle 0x4b2c60
cmp eax, dword [0x5b5310]
jg 0x4b2c60
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov byte [esp + 0x57], 1
mov eax, dword [edx + eax]
movsx ax, byte [eax + 0x25]
mov word [esp + 0x40], ax
jmp 0x4b1e18
xor ecx, ecx
jmp 0x4b2424
call fcn.004d1850
test eax, eax
je 0x4b2369
mov eax, dword [esp + 0x34]
cmp eax, dword [0x5b522c]
jg 0x4b2c82
imul ebx, dword [0x5b5230]
mov eax, dword [0x5b5239]
mov ecx, 0x5b8160
mov eax, dword [eax + ebx]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x5a4425
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x54
mov dword [esp + 8], 1
movsx edx, word [eax + 0x25]
mov dword [esp + 4], edx
movsx eax, word [eax + 0x23]
mov dword [esp], eax
call fcn.004d15c0
sub esp, 0x20
jmp 0x4b2369
movzx ebx, byte [esp + 0x2c]
xor ebx, 1
and ebx, 1
jmp 0x4b22e8
cmp cx, 0x400
je 0x4b2239
movzx eax, byte [eax + 8]
mov dword [esp + 0x34], 0
xor ebp, ebp
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], 0xffffffff
mov ebx, dword [0x5b5310]
mov dword [esp + 0x40], 0xffffffff
test eax, eax
jne 0x4b2024
jmp 0x4b2011
mov byte [esp + 0x57], 1
jmp 0x4b1e18
xor ecx, ecx
jmp 0x4b2317
movsx eax, word [esp + 0x40]
jmp 0x4b1def
xor eax, eax
mov word [0x5b5330], ax
xor ebx, ebx
mov word [0x5b532e], bx
movzx ebx, byte [esp + 0x2c]
xor ebx, 1
and ebx, 1
jmp 0x4b22e8
test ebp, ebp
jle 0x4b2c57
cmp dword [0x5b504c], ebp
jl 0x4b2c57
lea eax, [ebp - 1]
mov edx, dword [0x5b5059]
mov ecx, 0x5a4425
imul eax, dword [0x5b5050]
mov eax, dword [edx + eax]
mov edx, str.SELU
cmp byte [eax + 0x34], 0
mov dword [esp + 0x1c], 0
cmove edx, ecx
mov dword [esp + 0x18], 0
mov ecx, 0x5b8160
mov dword [esp + 0x14], edx
movsx edx, byte [eax + 4]
mov dword [esp + 0xc], 0x46
mov dword [esp + 0x10], edx
mov dword [esp + 8], 1
movsx edx, word [eax + 0x27]
mov dword [esp + 4], edx
movsx eax, word [eax + 0x25]
mov dword [esp], eax
call fcn.004d15c0
sub esp, 0x20
jmp 0x4b23c3
call fcn.004d1850
test eax, eax
je 0x4b2369
movsx eax, word [0x5b532e]
test eax, eax
jle 0x4b2c79
cmp eax, dword [0x5b5310]
jg 0x4b2c79
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov ecx, 0x5b8160
mov edx, dword [edx + eax]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x5a4425
movsx eax, word [edx + 4]
mov dword [esp + 0xc], 0x53
mov dword [esp + 0x10], eax
mov dword [esp + 8], 1
movzx eax, word [edx + 0x14]
sar ax, 5
cwde
mov dword [esp + 4], eax
movzx eax, word [edx + 0x12]
sar ax, 5
cwde
mov dword [esp], eax
call fcn.004d15c0
sub esp, 0x20
jmp 0x4b2369
xor ecx, ecx
jmp 0x4b22d6
mov dword [esp], 0x4c
mov ecx, esi
call fcn.00498de0
sub esp, 4
test eax, eax
jne 0x4b27fa
mov dword [esp], 0x53
mov ecx, esi
call fcn.00498de0
sub esp, 4
test eax, eax
jne 0x4b27fa
cmp byte [esp + 0x70], 0x4c
jne 0x4b2474
mov edi, dword [esp + 0xb0]
test edi, edi
jne 0x4b2474
movzx eax, word [esi]
and ax, 0xf00
cmp ax, 0x400
je 0x4b2ad0
cmp ax, 0x300
je 0x4b2a80
mov byte [esp + 0x2c], 0
jmp 0x4b2488
mov dword [esp], 0x41
mov ecx, esi
call fcn.00498de0
sub esp, 4
test eax, eax
jne 0x4b2b0c
movzx eax, byte [esp + 0x70]
jmp 0x4b246c
movsx eax, word [esi + 4]
mov ecx, 0x5b5300
mov dword [esp], eax
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x4b2798
movsx eax, word [esi + 4]
test eax, eax
jle 0x4b2c94
cmp eax, dword [0x5b5310]
jg 0x4b2c94
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov ebx, dword [edx + eax]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
test eax, eax
jne 0x4b2798
mov esi, dword [esp + 0xb0]
test esi, esi
jne 0x4b2952
mov ecx, ebx
call fcn.0050a720
test eax, eax
je 0x4b29e3
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x4b29e3
movsx eax, word [0x5b532e]
test ax, ax
je 0x4b2bcf
test eax, eax
jle 0x4b2bc8
cmp eax, dword [0x5b5310]
jg 0x4b2bc8
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov ecx, dword [edx + eax]
call fcn.0050a720
test eax, eax
jne 0x4b2ba8
mov edx, dword [esp + 0xb0]
test edx, edx
je 0x4b29e3
mov edi, dword [ebx + 0x2d]
test edi, edi
je 0x4b29e3
mov dword [esp + 0xb4], 0
mov byte [esp + 0x2c], 2
mov esi, dword [0x5b5310]
test esi, esi
jle 0x4b2b67
mov dword [esp + 0x30], 0
jmp 0x4b2939
cmp dword [0x5b5310], esi
jl 0x4b2c69
mov eax, dword [0x5b5314]
sub esi, 1
mov edx, dword [0x5b531d]
imul eax, esi
mov eax, dword [edx + eax]
cmp dword [eax + 0x2d], edi
jne 0x4b2931
movzx edx, byte [esp + 0x2c]
add dword [esp + 0x30], 1
mov byte [eax + 0x31], dl
test esi, esi
je 0x4b2a50
mov dword [esp], esi
mov ecx, 0x5b5300
call fcn.0050f960
sub esp, 4
test eax, eax
je 0x4b28ff
sub esi, 1
jmp 0x4b2931
mov ecx, ebx
call fcn.0050a720
mov dword [esp + 0x30], eax
test eax, eax
je 0x4b2241
mov ecx, ebx
call fcn.0050a720
test eax, eax
je 0x4b28cc
mov edx, dword [esp + 0xb4]
test edx, edx
je 0x4b29d8
movsx eax, word [0x5b532e]
test ax, ax
jne 0x4b2889
cmp byte [ebx + 0x31], 0
sete byte [esp + 0x2c]
mov edi, dword [ebx + 0x2d]
test edi, edi
jne 0x4b28e7
movzx eax, byte [esp + 0x2c]
mov byte [ebx + 0x31], al
test al, al
jne 0x4b29f2
mov dword [esp + 0x34], 0
xor ebp, ebp
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], 0
or eax, ebp
jmp 0x4b25e5
mov edi, dword [ebx + 0x2d]
test edi, edi
jne 0x4b28e2
mov byte [ebx + 0x31], 2
mov dword [esp + 0xb4], 0
mov ecx, ebx
call fcn.0050a720
mov ebp, eax
test eax, eax
je 0x4b2c4a
cmp word [0x5b511d], 0
je 0x4b2c38
mov dword [esp + 0x30], 1
call fcn.004d1850
mov byte [esp + 0x2c], 1
test eax, eax
jne 0x4b2bdd
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b2479
mov dword [esp + 0x34], 0
xor ebp, ebp
jmp 0x4b29c1
movzx eax, byte [ebx + 0x31]
mov byte [esp + 0x2c], al
test al, al
je 0x4b2a2b
mov ecx, ebx
call fcn.0050a720
mov byte [esp + 0x2c], 0
test eax, eax
je 0x4b2a2b
cmp word [0x5b511d], 0
je 0x4b2a2b
jmp 0x4b2a19
movsx eax, word [esi + 4]
mov ecx, 0x5b5220
mov dword [esp], eax
call fcn.004fb910
sub esp, 4
mov ebp, eax
test eax, eax
jne 0x4b27cd
movzx eax, word [esi]
mov dword [esp + 0x34], 0
and ax, 0xf00
cmp ax, 0x300
jne 0x4b2abb
movsx eax, word [esi + 4]
mov dword [esp + 0x34], eax
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], 1
jmp 0x4b29c1
movsx ebp, word [esi + 4]
test ebp, ebp
jle 0x4b27cd
cmp ebp, dword [0x5b504c]
jg 0x4b27cd
lea eax, [ebp - 1]
mov edx, dword [0x5b5059]
mov dword [esp + 0x34], 0
imul eax, dword [0x5b5050]
mov ebx, dword [edx + eax]
test ebx, ebx
jne 0x4b2abb
jmp 0x4b27cd
movsx eax, word [esi + 6]
mov ecx, 0x5b5300
mov dword [esp], eax
call fcn.0050f960
sub esp, 4
test eax, eax
jne 0x4b27f0
movsx eax, word [esi + 6]
test eax, eax
jle 0x4b2c94
cmp eax, dword [0x5b5310]
jg 0x4b2c94
sub eax, 1
imul eax, dword [0x5b5314]
mov edx, dword [0x5b531d]
mov ebx, dword [edx + eax]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
test eax, eax
je 0x4b284c
jmp 0x4b27f0
movzx eax, byte [ebx + 0x31]
mov byte [esp + 0x2c], al
test al, al
je 0x4b2479
mov ecx, ebx
call fcn.0050a720
test eax, eax
je 0x4b2474
cmp word [0x5b511d], 0
je 0x4b2474
mov dword [esp + 0x30], 0
jmp 0x4b2a19
mov eax, dword [esp + 0xb0]
cmp byte [ebx + 0x31], 0
sete byte [esp + 0x2c]
test eax, eax
jne 0x4b2998
jmp 0x4b29a3
xor ecx, ecx
jmp 0x4b28b0
cmp byte [ebx + 0x31], 0
sete byte [esp + 0x2c]
jmp 0x4b29a3
mov dword [esp + 0x1c], 0
mov ecx, 0x5b8160
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x5a4425
movsx eax, word [ebx + 4]
mov dword [esp + 0xc], 0x53
mov dword [esp + 0x10], eax
mov dword [esp + 8], 1
movzx eax, word [ebx + 0x14]
sar ax, 5
cwde
mov dword [esp + 4], eax
movzx eax, word [ebx + 0x12]
sar ax, 5
cwde
mov dword [esp], eax
call fcn.004d15c0
sub esp, 0x20
jmp 0x4b2a2b
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], 1
jmp 0x4b2a37
mov dword [esp + 0x34], 0
jmp 0x4b2abb
movzx eax, byte [0x34]
ud2
movzx eax, byte [0x25]
ud2
mov eax, dword [0x2d]
ud2
movzx eax, byte [0x31]
ud2
movzx eax, word [4]
ud2
movzx eax, word [0x25]
ud2
movzx eax, byte [0x23]
ud2
mov eax, dword [pe_dos_header]
ud2