Function at 0x406045
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
push edx
and edx, 0x4168
and edx, 0x6d8a
add edx, 0x129f7
sub edx, 0x9e33
pop edx
push eax
push ebx
add esp, 4
and eax, 0xb0a
xor eax, 0x15a3c
sub eax, 0x7e5b
pop eax
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1954], edx
mov eax, dword [ebp - 0x1954]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1958], ecx
mov edx, dword [ebp - 0x1958]
mov dword [ebp - 0x15d8], edx
push ecx
and ecx, 0x8483
pop ecx
push ecx
push eax
add esp, 4
call 0x4051f6
add byte [edi], bh
dec ecx
push eax
inc ebx
dec esi
push eax
cmp eax, 0x5904c483
push ecx
add ecx, 0x171ab
and ecx, 0xd8d5
and ecx, 0x106ed
pop ecx
cmp dword [ebp - 0x15d8], 0
jne 0x405226
mov dword [ebp - 0x31c], 0
jmp 0x4054e2
mov eax, dword [ebp - 0x15d8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push ebx
or ebx, 0x1573a
xor ebx, 0x162e5
pop ebx
push eax
xor eax, 0xf5e7
call 0x40525a
add byte [ecx], bh
cmp edi, dword [edx]
dec eax
aas
inc esi
dec edi
add esp, 4
or eax, 0xc456
and eax, 0x107bb
pop eax
cmp dword [ebp - 0xc98], 0
jne 0x405282
mov dword [ebp - 0x31c], 0
jmp 0x4054e2
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
push eax
and eax, 0xea5
add eax, 0x18139
call 0x4052aa
add byte [ebp + 0x32], cl
dec ecx
push eax
cmp dword ds:[esp + ecx*2], edi
inc edi
add esp, 4
call 0x4052bc
add byte [edi], bh
dec edi
dec ebx
xor cl, byte [eax + ecx*2 + 0x3e]
dec ecx
add esp, 4
pop eax
lea ecx, [ebp - 0x1738]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push eax
push ecx
add esp, 4
jmp 0x4052fb
and eax, 0xb5b0
call 0x40530d
add byte [ecx], bh
dec eax
inc eax
inc esp
aas
inc esi
add esp, 4
or eax, 0xfa4b
pop eax
push edi
sub edi, 0x8371
pop edi
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push edi
push edx
add esp, 4
add edi, 0x33c3
and edi, 0x10c67
sub edi, 0xc519
pop edi
push ecx
push edi
add esp, 4
xor ecx, 0x1011b
pop ecx
push esi
add esi, 0x13b8a
or esi, 0x9af3
pop esi
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x4053ce
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x405431
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x4052ed
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x4052ed
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x40541b
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x405425
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x40547a
push edx
or edx, 0x173a9
pop edx
push edx
push edi
add esp, 4
xor edx, 0x9cd2
or edx, 0xac52
call 0x405462
add byte [ebx], dh
cmp dword [edi], esi
inc esi
inc ecx
cmp al, 0x4d
push eax
inc edx
add esp, 4
xor edx, 0xc483
pop edx
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x4054e2
push edx
and edx, 0x17676
xor edx, 0x8c3c
add edx, 0x98d0
pop edx
push edi
push edx
add esp, 4
xor edi, 0xbf3d
sub edi, 0xa378
pop edi
push ebx
push edi
add esp, 4
add ebx, 0x16601
pop ebx
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x4054d8
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x40528e
mov dword [ebp - 0x31c], 0
push esi
push edx
add esp, 4
sub esi, 0x10759
and esi, 0x14cd4
add esi, 0x224c
pop esi
push edx
sub edx, 0x55fc
jmp 0x405507
add edx, 0x26db
and edx, 0xdc83
pop edx
cmp dword [ebp - 0x31c], 0
jne 0x405e2d
mov edx, 0x6b
mov word [ebp - 0x1774], dx
mov eax, 0x65
mov word [ebp - 0x1772], ax
mov ecx, 0x72
mov word [ebp - 0x1770], cx
mov edx, 0x6e
mov word [ebp - 0x176e], dx
mov eax, 0x65
mov word [ebp - 0x176c], ax
mov ecx, 0x6c
mov word [ebp - 0x176a], cx
mov edx, 0x33
mov word [ebp - 0x1768], dx
mov eax, 0x32
mov word [ebp - 0x1766], ax
mov ecx, 0x2e
mov word [ebp - 0x1764], cx
mov edx, 0x64
mov word [ebp - 0x1762], dx
mov eax, 0x6c
mov word [ebp - 0x1760], ax
mov ecx, 0x6c
mov word [ebp - 0x175e], cx
xor edx, edx
mov word [ebp - 0x175c], dx
push edx
add edx, 0xfbad
pop edx
push ebx
push ecx
add esp, 4
call 0x4055d4
add byte [ebp + 0x3f], al
xor al, 0x45
xor eax, 0xc4834c3d
add al, 0xeb
push es
dec edx
cmp dword [eax + 0x3f], edx
aaa
dec edi
add ebx, 0xdd71
or ebx, 0x1cbd
pop ebx
mov byte [ebp - 0x894], 0x4c
mov byte [ebp - 0x893], 0x6f
mov byte [ebp - 0x892], 0x61
mov byte [ebp - 0x891], 0x64
mov byte [ebp - 0x890], 0x4c
mov byte [ebp - 0x88f], 0x69
mov byte [ebp - 0x88e], 0x62
mov byte [ebp - 0x88d], 0x72
mov byte [ebp - 0x88c], 0x61
mov byte [ebp - 0x88b], 0x72
mov byte [ebp - 0x88a], 0x79
mov byte [ebp - 0x889], 0x57
mov byte [ebp - 0x888], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x195c], eax
mov ecx, dword [ebp - 0x195c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1960], edx
mov eax, dword [ebp - 0x1960]
mov dword [ebp - 0x15e4], eax
push ebx
push esi
add esp, 4
call 0x405681
add byte [edx + 0x32], al
inc edx
inc ecx
dec ecx
aas
inc eax
xor al, byte [ebx + 0x515b04c4]
push ebx
add esp, 4
add ecx, 0x15a71
jmp 0x405699
xor ecx, 0x13583
pop ecx
cmp dword [ebp - 0x15e4], 0
jne 0x4056b8
mov dword [ebp - 0x750], 0
jmp 0x405974
mov ecx, dword [ebp - 0x15e4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xca4], eax
push ebx
xor ebx, 0x706a
xor ebx, 0x16100
and ebx, 0x1686f
pop ebx
push edi
push edx
add esp, 4
or edi, 0x5fa4
and edi, 0x16ab4
xor edi, 0x78c9
and edi, 0xaa92
pop edi
cmp dword [ebp - 0xca4], 0
jne 0x405714
mov dword [ebp - 0x750], 0
jmp 0x405974
mov ecx, dword [ebp - 0xca4]
mov dword [ebp - 0x508], ecx
push edi
push esi
add esp, 4
and edi, 0x16c40
or edi, 0xeebb
jmp 0x405736
pop edi
push ecx
xor ecx, 0x49d0
call 0x40574e
add byte [edi + 0x4c], cl
inc ebx
xor eax, 0x3d443946
dec ebp
cmp al, byte [ebx - 0x72a6fb3c]
xchg ebp, eax
mov eax, gs
invalid
push edx
push edi
add esp, 4
jmp 0x405982
sub edx, 0x1641a
pop edx
push esi
or esi, 0xcf87
call 0x40599c
add byte [edx + 0x3a], al
inc edi
inc ebx
cmp eax, 0x8104c483
out dx, al
push es
inc esi
add byte [eax], al
pop esi
cmp dword [ebp - 0x750], 0
jne 0x4059f0
push edx
add edx, 0xd74b
call 0x4059c3
add byte [0x44394e43], dh
cmp dword [ebp - 0x7d], eax
les eax, [edx + ebx*2]
push edi
add edi, 0x9850
add edi, 0xd70a
xor edi, 0xd8e6
jmp 0x4059e0
pop edi
mov dword [ebp - 0x79c], 0
jmp 0x406517
push esi
push esi
add esp, 4
jmp 0x4059fb
sub esi, 0x4b2a
pop esi
push ecx
or ecx, 0x6fef
pop ecx
push ebx
push eax
add esp, 4
xor ebx, 0x5011
sub ebx, 0x14852
sub ebx, 0xb009
pop ebx
mov eax, dword [ebp - 0x750]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x760], 0
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x15f0], edx
cmp dword [ebp - 0x15f0], 0
jne 0x405a61
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x405d52
mov ecx, dword [ebp - 0x15f0]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x15f4], edx
jne 0x405a89
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x405d52
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x15f4]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x15f8], ecx
cmp dword [ebp - 0x15f8], 0
jne 0x405abb
mov edx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], edx
jmp 0x405d52
mov eax, dword [ebp - 0x320]
add eax, dword [ebp - 0x15f8]
mov dword [ebp - 0x754], eax
jne 0x405ae0
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], ecx
jmp 0x405d52
mov edx, dword [ebp - 0x754]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1964], eax
mov ecx, dword [ebp - 0x754]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1968], edx
mov eax, dword [ebp - 0x754]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x196c], ecx
mov dword [ebp - 0x758], 0
jmp 0x405b3a
mov edx, dword [ebp - 0x758]
add edx, 1
mov dword [ebp - 0x758], edx
mov eax, dword [ebp - 0x754]
mov ecx, dword [ebp - 0x758]
cmp ecx, dword [eax + 0x18]
jae 0x405d46
mov edx, dword [ebp - 0x758]
mov eax, dword [ebp - 0x1964]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x75c], ecx
mov edx, dword [ebp - 0x758]
mov eax, dword [ebp - 0x1968]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x196c]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1970], eax
mov dword [ebp - 0x198], 0
jmp 0x405baa
mov ecx, dword [ebp - 0x198]
add ecx, 1
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x75c]
add edx, dword [ebp - 0x198]
movsx eax, byte [edx]
test eax, eax
je 0x405c5c
mov ecx, dword [ebp - 0x198]
movsx edx, byte [ebp + ecx - 0x894]
test edx, edx
je 0x405c5c
push edx
add edx, 0x9289
pop edx
push ebx
push edi
add esp, 4
sub ebx, 0xffe0
pop ebx
push eax
sub eax, 0x10804
call 0x405bff
add byte [ebx], bh
dec edx
cmp byte [edx + 0x3d], cl
dec ebp
add esp, 4
and eax, 0x9ced
pop eax
mov eax, dword [ebp - 0x75c]
add eax, dword [ebp - 0x198]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x894]
cmp ecx, eax
je 0x405c4e
mov ecx, dword [ebp - 0x75c]
add ecx, dword [ebp - 0x198]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x198]
movsx ecx, byte [ebp + eax - 0x894]
cmp edx, ecx
jne 0x405c55
jmp 0x405b9b
jmp 0x405c5c
push ebx
push edx
add esp, 4
jmp 0x405c69
call 0x405c78
add byte [ecx], bh
dec esp
xor edi, dword [ecx]
aaa
aaa
inc esp
push eax
cmp eax, 0x5b04c483
push ebx
push edx
add esp, 4
xor ebx, 0x15181
and ebx, 0xe07b
pop ebx
mov edx, dword [ebp - 0x75c]
add edx, dword [ebp - 0x198]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x198]
movsx edx, byte [ebp + ecx - 0x894]
cmp eax, edx
jne 0x405cbb
mov dword [ebp - 0xca8], 0
jmp 0x405d2a
push eax
push edx
add esp, 4
jmp 0x405cc6
pop eax
push esi
sub esi, 0x12682
sub esi, 0x1605f
add esi, 0x13a38
call 0x405ce9
add byte [esi + 0x3e], cl
dec ebp
dec ecx
cmp dword [esi], esi
inc esi
inc edx
dec ecx
add esp, 4
pop esi
mov eax, dword [ebp - 0x75c]
add eax, dword [ebp - 0x198]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x894]
or eax, 0x20
cmp ecx, eax
jge 0x405d20
mov dword [ebp - 0xca8], 0xffffffff
jmp 0x405d2a
mov dword [ebp - 0xca8], 1
cmp dword [ebp - 0xca8], 0
jne 0x405d41
mov ecx, dword [ebp - 0x1970]
mov dword [ebp - 0x3f4], ecx
jmp 0x405d52
jmp 0x405b2b
mov edx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], edx
cmp dword [ebp - 0x3f4], 0
je 0x405e2d
push ecx
push edx
add esp, 4
xor ecx, 0xc624
jmp 0x405d6f
xor ecx, 0x13dc3
pop ecx
push ebx
push edx
add esp, 4
jmp 0x405d84
or ebx, 0xd01b
add ebx, 0xfa90
pop ebx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x1974], eax
push esi
push ecx
add esp, 4
call 0x405dae
add byte [ebx + 0x33], al
cmp byte [edi + 0x39], al
dec edx
add esp, 4
call 0x405dbf
add byte [ebx + 0x3c], cl
xor eax, dword [ebx + 0x46]
cmp al, byte [edx + 0x39]
add esp, 4
and esi, 0x6317
or esi, 0xb986
pop esi
mov ecx, dword [ebp - 0x1974]
mov dword [ebp - 0x1978], ecx
lea edx, [ebp - 0x1738]
push edx
call dword [ebp - 0x1978]
test eax, eax
jne 0x405e2d
push esi
add esi, 0xcf8c
add esi, 0x1334b
pop esi
push ebx
push ecx
push eax
add esp, 4
call 0x405e3e
add byte [edi], dh
inc esi
inc esi
aas
xor al, 0x4c
add esp, 4
call 0x405e4f
add byte [esi], bh
dec esp
push eax
dec esi
cmp al, 0x3d
inc edi
xor al, byte [ebx - 0x1e7efb3c]
int1
inc ebp
add dword [eax], eax
or ecx, 0xc2a9
pop ecx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x197c], eax
mov ecx, dword [ebp - 0x197c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1980], edx
mov eax, dword [ebp - 0x1980]
mov dword [ebp - 0x15fc], eax
push eax
and eax, 0x13cbd
sub eax, 0x3088
jmp 0x405e99
pop eax
push esi
push ecx
add esp, 4
sub esi, 0x147e5
pop esi
push ecx
push ecx
add esp, 4
and ecx, 0x65f8
xor ecx, 0x42a4
pop ecx
cmp dword [ebp - 0x15fc], 0
jne 0x405ed0
mov dword [ebp - 0x31c], 0
jmp 0x406177
mov ecx, dword [ebp - 0x15fc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcb4], eax
push edx
add edx, 0x11e20
or edx, 0x144a1
sub edx, 0xad08
pop edx
push ecx
push edx
add esp, 4
and ecx, 0xecf2
and ecx, 0xd2a7
sub ecx, 0x15f4b
add ecx, 0x143ed
pop ecx
cmp dword [ebp - 0xcb4], 0
jne 0x405f2c
mov dword [ebp - 0x31c], 0
jmp 0x406177
mov ecx, dword [ebp - 0xcb4]
mov dword [ebp - 0x50c], ecx
push edx
push esi
add esp, 4
sub edx, 0xf40b
pop edx
push edi
xor edi, 0x56a0
pop edi
push esi
push ecx
add esp, 4
and esi, 0x8f72
jmp 0x405f5d
and esi, 0xe946
add esi, 0x12a90
pop esi
lea edx, [ebp - 0x1738]
mov dword [ebp - 0xcb0], edx
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcac], ecx
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov word [ebp - 0x34], ax
push edx
sub edx, 0xb819
sub edx, 0x298e
pop edx
push esi
and esi, 0x11034
call 0x405fb6
add byte [ebp + 0x44], cl
inc edi
inc ecx
inc esp
inc esi
add esp, 4
or esi, 0x17981
add esi, 0x4e88
pop esi
mov ecx, dword [ebp - 0xcac]
mov dx, word [ecx]
mov word [ebp - 0x103a], dx
mov eax, dword [ebp - 0xcac]
add eax, 2
mov dword [ebp - 0xcac], eax
mov cx, word [ebp - 0x103a]
mov word [ebp - 0x218], cx
mov edx, dword [ebp - 0xcb0]
mov ax, word [edx]
mov word [ebp - 0x103c], ax
mov ecx, dword [ebp - 0xcb0]
add ecx, 2
mov dword [ebp - 0xcb0], ecx
mov dx, word [ebp - 0x103c]
mov word [ebp - 0x34], dx
push edi
push ebx
add esp, 4
call 0x406032
add byte [ecx], bh
dec esi
cmp eax, dword [edx + 0x43]
inc esi
inc ebp
inc edx
cmp eax, dword [ebp - 0x7d]
les eax, [eax + ebp*8]
or eax, dword [eax]
add byte [eax], al
add byte [edi + 0x50], al
cmp al, 0x3d
inc ebx
inc edx
xor bh, byte [eax]
inc edx
cmp eax, dword [ebx - 0x307efb3c]
and cl, byte [0xf5f0001]
mov bh, 0x45
int3
push ecx
push esi
add esp, 4
and ecx, 0xf92f
add ecx, 0x54db
pop ecx
push edi
or edi, 0x8256
and edi, 0x3d35
and edi, 0xeacd
pop edi
push edx
push ebx
add esp, 4
add edx, 0xa31b
pop edx
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push edi
push ebx
add esp, 4
and edi, 0xfbe9
add edi, 0xab92
xor edi, 0x8535
pop edi
push esi
push ecx
add esp, 4
xor esi, 0xe8ed
jmp 0x4061e3
xor esi, 0x56ef
pop esi
mov dword [ebp - 0x770], 0
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x1608], edx
cmp dword [ebp - 0x1608], 0
jne 0x40621a
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x40650b
mov ecx, dword [ebp - 0x1608]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x160c], edx
jne 0x406242
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x40650b
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x160c]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1610], ecx
cmp dword [ebp - 0x1610], 0
jne 0x406274
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
jmp 0x40650b
mov eax, dword [ebp - 0x324]
add eax, dword [ebp - 0x1610]
mov dword [ebp - 0x764], eax
jne 0x406299
mov ecx, dword [ebp - 0x770]
mov dword [ebp - 0x510], ecx
jmp 0x40650b
mov edx, dword [ebp - 0x764]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1984], eax
mov ecx, dword [ebp - 0x764]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1988], edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1d10], ecx
mov dword [ebp - 0x768], 0
jmp 0x4062f3
mov edx, dword [ebp - 0x768]
add edx, 1
mov dword [ebp - 0x768], edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x768]
cmp ecx, dword [eax + 0x18]
jae 0x4064ff
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x1984]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x76c], ecx
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x1988]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1d10]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x198c], eax
mov dword [ebp - 0x19c], 0
jmp 0x406363
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x76c]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx]
test eax, eax
je 0x406415
mov ecx, dword [ebp - 0x19c]
movsx edx, byte [ebp + ecx - 0x878]
test edx, edx
je 0x406415
push ecx
xor ecx, 0x3b0
or ecx, 0x9557
xor ecx, 0x7094
or ecx, 0x11b1d
pop ecx
push edx
or edx, 0x70cd
add edx, 0x17c4a
pop edx
push edx
jmp 0x4063c1
pop edx
mov eax, dword [ebp - 0x76c]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x878]
cmp ecx, eax
je 0x406407
mov ecx, dword [ebp - 0x76c]
add ecx, dword [ebp - 0x19c]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x19c]
movsx ecx, byte [ebp + eax - 0x878]
cmp edx, ecx
jne 0x40640e
jmp 0x406354
jmp 0x406415
push ebx
push esi
add esp, 4
call 0x406429
add byte [edi + 0x40], cl
dec esi
xor al, 0x37
cmp ecx, dword [ebp + 0x3d]
add esp, 4
pop ebx
push edi
xor edi, 0x12b27
add edi, 0x13406
add edi, 0xd815
and edi, 0x155ef
pop edi
mov edx, dword [ebp - 0x76c]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x19c]
movsx edx, byte [ebp + ecx - 0x878]
cmp eax, edx
jne 0x406474
mov dword [ebp - 0xcb8], 0
jmp 0x4064e3
push esi
push edi
add esp, 4
sub esi, 0xb590
add esi, 0x3346
sub esi, 0xf3bf
pop esi
push esi
push ebx
add esp, 4
xor esi, 0x1755b
pop esi
push edi
xor edi, 0xc26c
xor edi, 0x8364
pop edi
mov eax, dword [ebp - 0x76c]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x878]
or eax, 0x20
cmp ecx, eax
jge 0x4064d9
mov dword [ebp - 0xcb8], 0xffffffff
jmp 0x4064e3
mov dword [ebp - 0xcb8], 1
cmp dword [ebp - 0xcb8], 0
jne 0x4064fa
mov ecx, dword [ebp - 0x198c]
mov dword [ebp - 0x510], ecx
jmp 0x40650b
jmp 0x4062e4
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x79c], eax