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

Disassembly:
sub esp, 0x54
push ebx
push esi
mov dword [esp + 0x20], 1
push edi
push ebp
lea ebp, [esp + 0x3c]
xor edi, edi
mov word [esp + 0x12], di
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
xor ecx, ecx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
mov al, byte [esi]
cmp al, 0x20
je 0x406c16
cmp al, 9
je 0x406c16
cmp al, 0xa
je 0x406c16
cmp al, 0xd
jne 0x406c19
inc esi
jmp 0x406c04
mov bl, byte [esi]
inc esi
cmp ecx, 0xb
ja case.0x406c25.10
jmp dword [ecx*4 + 0x4071ec]
cmp bl, 0x31
jl 0x406c40
cmp bl, 0x39
jg 0x406c40
mov ecx, 3
jmp 0x407074
cmp bl, byte [0x40ac78]
jne 0x406c52
mov ecx, 5
jmp case.0x406c25.10
movsx eax, bl
cmp eax, 0x2b
je 0x406c69
cmp eax, 0x2d
je 0x406c7a
cmp eax, 0x30
je 0x406c8b
jmp case.0x406cda.48
mov word [esp + 0x12], 0
mov ecx, 2
jmp case.0x406c25.10
mov word [esp + 0x12], 0x8000
mov ecx, 2
jmp case.0x406c25.10
mov ecx, 1
jmp case.0x406c25.10
mov dword [esp + 0x20], 1
cmp bl, 0x31
jl 0x406cb1
cmp bl, 0x39
jg 0x406cb1
mov ecx, 3
jmp 0x407074
cmp bl, byte [0x40ac78]
jne 0x406cc3
mov ecx, 4
jmp case.0x406c25.10
movsx ecx, bl
sub ecx, 0x2b
cmp ecx, 0x3a
ja case.0x406cda.48
xor eax, eax
mov al, byte [ecx + 0x407234]
jmp dword [eax*4 + 0x40721c]
dec esi
mov ecx, 0xb
jmp case.0x406c25.10
mov ecx, 1
jmp case.0x406c25.10
mov ecx, 6
jmp case.0x406c25.10
cmp bl, 0x31
jl 0x406d14
cmp bl, 0x39
jg 0x406d14
mov ecx, 3
jmp 0x407074
cmp bl, byte [0x40ac78]
jne 0x406d26
mov ecx, 5
jmp case.0x406c25.10
movsx eax, bl
cmp eax, 0x30
je 0x406d3c
mov ecx, 0xa
mov esi, dword [esp + 0x18]
jmp case.0x406c25.10
mov ecx, 1
jmp case.0x406c25.10
mov dword [esp + 0x20], 1
cmp dword [0x40ac74], 1
jle 0x406d68
push 4
xor eax, eax
mov al, bl
push eax
call fcn.00405b10
add esp, 8
jmp 0x406d7b
xor ecx, ecx
mov edx, dword [str.________________________________H]
mov cl, bl
xor eax, eax
mov ax, word [edx + ecx*2]
and eax, 4
test eax, eax
je 0x406da0
cmp dword [esp + 0x14], 0x19
jae 0x406d97
sub bl, 0x30
inc ebp
inc esi
inc dword [esp + 0x14]
mov byte [ebp - 1], bl
mov bl, byte [esi - 1]
jmp 0x406d4e
mov bl, byte [esi]
inc esi
inc dword [esp + 0x1c]
jmp 0x406d4e
cmp bl, byte [0x40ac78]
jne 0x406db2
mov ecx, 4
jmp case.0x406c25.10
movsx ecx, bl
sub ecx, 0x2b
cmp ecx, 0x3a
ja case.0x406cda.48
xor eax, eax
mov al, byte [ecx + 0x407284]
jmp dword [eax*4 + 0x407270]
dec esi
mov ecx, 0xb
jmp case.0x406c25.10
mov ecx, 6
jmp case.0x406c25.10
mov dword [esp + 0x20], 1
mov dword [esp + 0x30], 1
cmp dword [esp + 0x14], 0
jne 0x406e0d
cmp bl, 0x30
jne 0x406e0d
mov bl, byte [esi]
inc esi
dec dword [esp + 0x1c]
cmp bl, 0x30
je 0x406e01
cmp dword [0x40ac74], 1
jle 0x406e27
push 4
xor eax, eax
mov al, bl
push eax
call fcn.00405b10
add esp, 8
jmp 0x406e3a
xor ecx, ecx
mov edx, dword [str.________________________________H]
mov cl, bl
xor eax, eax
mov ax, word [edx + ecx*2]
and eax, 4
test eax, eax
je 0x406e59
cmp dword [esp + 0x14], 0x19
jae 0x406e54
sub bl, 0x30
inc ebp
inc dword [esp + 0x14]
dec dword [esp + 0x1c]
mov byte [ebp - 1], bl
mov bl, byte [esi]
inc esi
jmp 0x406e0d
movsx ecx, bl
sub ecx, 0x2b
cmp ecx, 0x3a
ja case.0x406cda.48
xor eax, eax
mov al, byte [ecx + 0x4072d4]
jmp dword [eax*4 + 0x4072c0]
dec esi
mov ecx, 0xb
jmp case.0x406c25.10
mov ecx, 6
jmp case.0x406c25.10
mov dword [esp + 0x30], 1
cmp dword [0x40ac74], 1
jle 0x406eae
push 4
xor eax, eax
mov al, bl
push eax
call fcn.00405b10
add esp, 8
jmp 0x406ec1
xor ecx, ecx
mov edx, dword [str.________________________________H]
mov cl, bl
xor eax, eax
mov ax, word [edx + ecx*2]
and eax, 4
test eax, eax
je 0x406ecf
mov ecx, 4
jmp 0x407074
mov ecx, 0xa
mov esi, dword [esp + 0x18]
jmp case.0x406c25.10
lea eax, [esi - 2]
cmp bl, 0x31
mov dword [esp + 0x18], eax
jl 0x406ef8
cmp bl, 0x39
jg 0x406ef8
mov ecx, 9
jmp 0x407074
movsx eax, bl
cmp eax, 0x2b
je 0x406f18
cmp eax, 0x2d
je 0x406f22
cmp eax, 0x30
je 0x406f34
mov ecx, 0xa
mov esi, dword [esp + 0x18]
jmp case.0x406c25.10
mov ecx, 7
jmp case.0x406c25.10
mov dword [esp + 0x28], 0xffffffff
mov ecx, 7
jmp case.0x406c25.10
mov ecx, 8
jmp case.0x406c25.10
cmp bl, 0x31
jl 0x406f52
cmp bl, 0x39
jg 0x406f52
mov ecx, 9
jmp 0x407074
movsx eax, bl
cmp eax, 0x30
je 0x406f68
mov ecx, 0xa
mov esi, dword [esp + 0x18]
jmp case.0x406c25.10
mov ecx, 8
jmp case.0x406c25.10
mov dword [esp + 0x2c], 1
cmp bl, 0x30
jne 0x406f87
mov bl, byte [esi]
inc esi
cmp bl, 0x30
je 0x406f7f
cmp bl, 0x31
jl case.0x406cda.48
cmp bl, 0x39
jg case.0x406cda.48
mov ecx, 9
jmp 0x407074
mov dword [esp + 0x2c], 1
xor edi, edi
cmp dword [0x40ac74], 1
jle 0x406fc7
push 4
xor eax, eax
mov al, bl
push eax
call fcn.00405b10
add esp, 8
jmp 0x406fda
xor ecx, ecx
mov edx, dword [str.________________________________H]
mov cl, bl
xor eax, eax
mov ax, word [edx + ecx*2]
and eax, 4
test eax, eax
je 0x406ffa
lea eax, [edi + edi*4]
movsx ecx, bl
lea edi, [ecx + eax*2 - 0x30]
cmp edi, 0x1450
jg 0x406ff5
mov bl, byte [esi]
inc esi
jmp 0x406fad
mov edi, 0x1451
cmp dword [0x40ac74], 1
jle 0x407014
push 4
xor eax, eax
mov al, bl
push eax
call fcn.00405b10
add esp, 8
jmp 0x407027
xor ecx, ecx
mov edx, dword [str.________________________________H]
mov cl, bl
xor eax, eax
mov ax, word [edx + ecx*2]
and eax, 4
test eax, eax
je case.0x406cda.48
mov bl, byte [esi]
inc esi
jmp 0x406ffa
cmp dword [esp + 0x80], 0
je case.0x406cda.48
lea eax, [esi - 1]
mov dword [esp + 0x18], eax
movsx eax, bl
cmp eax, 0x2b
je 0x407059
cmp eax, 0x2d
je 0x407060
mov ecx, 0xa
mov esi, dword [esp + 0x18]
jmp case.0x406c25.10
mov ecx, 7
jmp case.0x406c25.10
mov dword [esp + 0x28], 0xffffffff
mov ecx, 7
jmp case.0x406c25.10
mov ecx, 0xa
dec esi
cmp ecx, 0xa
jne 0x406c19
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x20], 0
mov dword [eax], esi
je 0x407160
cmp dword [esp + 0x14], 0x18
jbe 0x4070ae
cmp byte [esp + 0x53], 5
jl 0x4070a1
inc byte [esp + 0x53]
dec ebp
inc dword [esp + 0x1c]
mov dword [esp + 0x14], 0x18
cmp dword [esp + 0x14], 0
je 0x407154
dec ebp
cmp byte [ebp], 0
jne 0x4070cf
dec ebp
dec dword [esp + 0x14]
inc dword [esp + 0x1c]
cmp byte [ebp], 0
je 0x4070c0
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00406ad0
add esp, 0xc
cmp dword [esp + 0x28], 0
jge 0x4070ef
neg edi
add edi, dword [esp + 0x1c]
cmp dword [esp + 0x2c], 0
jne 0x4070fe
add edi, dword [esp + 0x78]
cmp dword [esp + 0x30], 0
jne 0x407109
sub edi, dword [esp + 0x7c]
cmp edi, 0x1450
jle 0x40711b
mov dword [esp + 0x34], 1
jmp 0x407160
cmp edi, 0xffffebb0
jge 0x40712d
mov dword [esp + 0x38], 1
jmp 0x407160
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x58]
push eax
push edi
push ecx
call fcn.00407c30
mov di, word [esp + 0x64]
mov ecx, dword [esp + 0x66]
mov si, word [esp + 0x6e]
mov edx, dword [esp + 0x6a]
add esp, 0xc
jmp 0x407172
xor di, di
xor edx, edx
xor si, si
xor ecx, ecx
jmp 0x407172
mov di, word [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
mov si, word [esp + 0x3c]
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x20], 0
jne 0x40718d
xor di, di
xor edx, edx
xor si, si
xor ecx, ecx
mov dword [esp + 0x24], 4
jmp 0x4071c5
cmp dword [esp + 0x34], 0
je 0x4071ac
mov si, 0x7fff
mov edx, 0x80000000
xor di, di
xor ecx, ecx
mov dword [esp + 0x24], 2
jmp 0x4071c5
cmp dword [esp + 0x38], 0
je 0x4071c5
xor di, di
xor edx, edx
xor si, si
xor ecx, ecx
mov dword [esp + 0x24], 1
mov ax, word [esp + 0x12]
mov ebx, dword [esp + 0x68]
or ax, si
mov dword [ebx + 2], ecx
mov word [ebx], di
mov dword [ebx + 6], edx
mov word [ebx + 0xa], ax
mov eax, dword [esp + 0x24]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x54
ret