Function at 0x474776
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push eax
push ecx
push edx
push edi
mov edi, eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0
cmp eax, 0x9b
je 0x4747c1
mov dword [ebp - 0xc], esi
mov edi, 0x94
call fcn.00474395
cmp eax, 0x9b
jne 0x4747e9
mov edi, 0x9b
mov dword [0x401310], 1
lea edx, [ebp - 0x18]
push edx
call fcn.004759ae
push 0x2c
call fcn.004767b2
lea edx, [ebp - 0x14]
push edx
call fcn.004759ae
push 0x2c
call fcn.004767b2
mov dword [ebp - 0xc], esi
call fcn.00474395
cmp dword [0x404f6c], 2
jne 0x474860
cmp word [0x466fe4], 0x28
jne 0x474860
cmp dword [0x404f6c], 2
jne 0x474816
cmp word [0x466fe4], 0x28
jne 0x474816
call fcn.00474395
jmp 0x4747fc
cmp dword [0x404f6c], 3
je 0x474848
cmp dword [0x404f6c], 0xb
je 0x474848
cmp dword [0x404f6c], 8
jne 0x47483f
cmp eax, 0xe1
jl 0x47483f
cmp eax, 0xf4
jle 0x474848
cmp dword [0x404f6c], 0xa
jne 0x47484f
jmp 0x4749b3
cmp dword [0x404f6c], 0xd
jne 0x47485d
jmp 0x4749ea
mov esi, dword [ebp - 0xc]
cmp dword [0x404f6c], 1
je 0x474885
cmp dword [0x404f6c], 0xffffffff
je 0x474885
cmp dword [0x404f6c], 2
jne 0x47488f
cmp word [0x466fe4], 0x3a
jne 0x47488f
jmp 0x474ac7
cmp eax, 0x81
je 0x47489d
cmp eax, 0x82
jne 0x4748a7
jmp 0x474a48
cmp dword [0x404f6c], 8
jne 0x47495a
cmp eax, 0xca
jl 0x47495a
cmp eax, 0xcc
jg 0x47495a
lea edx, [ebp - 8]
push edx
call fcn.004759ae
mov ecx, dword [ebp - 8]
cmp eax, 0xca
add byte [eax], al
jne 0x4748fa
push ecx
nop
call 0x4748ea
and eax, 0x6300
add bh, bh
jne 0x4748d9
push dword [ebp - 0x18]
call fcn.0046b9f1
add esp, 0x10
jmp 0x474952
cmp eax, 0xcb
add byte [eax], al
jne 0x47491e
push ecx
nop
call 0x47490e
and eax, 0x7800
add bh, bh
jne 0x4748fd
push dword [ebp - 0x18]
call fcn.0046b9f1
add esp, 0x10
jmp 0x474952
cmp eax, 0xcc
jne 0x474952
mov eax, dword [0x404f70]
push 2
push eax
push ecx
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
push eax
nop
add byte [ebx - 0x6faff33c], al
call 0x474944
and eax, 0x7300
add bh, bh
jne 0x474933
push dword [ebp - 0x18]
call fcn.0046b9f1
add esp, 0x10
add dword [ebp - 0x10], eax
jmp 0x474a2f
cmp dword [0x404f6c], 3
jne 0x47498a
push 0x466fe4
nop
call 0x474974
and eax, 0x7300
add bh, bh
jne 0x474963
push dword [ebp - 0x18]
call fcn.0046b9f1
add esp, 0x10
add dword [ebp - 0x10], eax
jmp 0x474a2f
cmp dword [0x404f6c], 0xb
je 0x4749b3
cmp dword [0x404f6c], 8
jne 0x4749aa
cmp eax, 0xe1
jl 0x4749aa
cmp eax, 0xf4
jle 0x4749b3
cmp dword [0x404f6c], 0xa
jne 0x4749e1
mov esi, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
call fcn.0046eb6f
mov ecx, dword [ebp - 8]
push ecx
call 0x4749ce
and eax, 0x7300
add bh, bh
jne 0x4749bd
invalid
push dword [ebp - 0x18]
call fcn.0046b9f1
add esp, 0x10
add dword [ebp - 0x10], eax
jmp 0x474a2f
cmp dword [0x404f6c], 0xd
jne 0x474a02
call fcn.00476e0f
push eax
call fcn.00476cec
mov ecx, dword [eax + 0x44]
cmp dword [eax + 0x40], 0xb
je 0x4749b3
jmp 0x474a02
mov esi, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
call fcn.004759ae
mov ecx, dword [ebp - 8]
push ecx
nop
add byte [ebx - 0x6fae07b3], cl
call 0x474a1e
and eax, 0x6400
add bh, bh
jne 0x474a0d
push dword [ebp - 0x18]
call fcn.0046b9f1
add esp, 0x10
add dword [ebp - 0x10], eax
mov word [ebp - 4], 0
call fcn.00474395
cmp eax, 0x81
je 0x474a48
cmp eax, 0x82
jne 0x474a59
call fcn.0046c5b3
mov dword [0x404f6c], 1
jmp 0x474ac7
cmp dword [0x404f6c], 2
je 0x474a64
jmp 0x474ac7
mov ax, word [0x466fe4]
mov word [ebp - 4], ax
cmp ax, 0x3b
jne 0x474aa1
mov eax, dword [ebp - 0x10]
mov ecx, 8
xor edx, edx
div ecx
sub ecx, edx
add dword [ebp - 0x10], ecx
push 0x20
push ecx
nop
call 0x474a96
and eax, 0x63002a00
add byte [eax], al
add bh, bh
adc eax, sym.imp.msvcrt.dll_wprintf
add esp, 0xc
jmp 0x474ab1
cmp ax, 0x3a
jne 0x474aab
jmp 0x474ac7
cmp ax, 0x2c
jne 0x474ab1
cmp word [ebp - 4], 0x3b
je 0x47479e
cmp word [ebp - 4], 0x2c
je 0x47479e
cmp dword [0x404f6c], 1
je 0x474aec
cmp dword [0x404f6c], 0xffffffff
je 0x474aec
cmp dword [0x404f6c], 2
jne 0x474b24
cmp word [0x466fe4], 0x3a
jne 0x474b24
cmp word [ebp - 4], 0x3b
je 0x474b22
cmp word [ebp - 4], 0x2c
je 0x474b22
cmp edi, 0x94
jne 0x474b22
push 0xa
push 0xd
nop
call 0x474b16
and eax, 0x25006300
add byte [ebx], ah
add byte [eax], al
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0046b9f1
add esp, 0x14
jmp 0x474b29
jmp 0x40468c
pop edi
pop edx
pop ecx
pop eax
leave
ret