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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48ddad
mov eax, dword fs:[0]
push eax
sub esp, 0x598
mov eax, dword [0x4a7360]
xor eax, esp
mov dword [esp + 0x590], eax
push ebx
push esi
push edi
mov eax, dword [0x4a7360]
xor eax, esp
push eax
lea eax, [esp + 0x5a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esp + 0x24], eax
lea edi, [ebx + 0xd]
mov eax, 0x491fe4
lea esi, [esp + 0xb0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
call fcn.00404720
mov dword [esp + 0x5b0], ebx
xor edx, edx
mov edi, 7
push 0x10
mov eax, 0x491ff4
lea esi, [esp + 0x7c]
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
call fcn.00404ad0
mov byte [esp + 0x5b0], 1
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
call fcn.0041b520
add esp, 4
mov byte [esp + 0x5b0], 2
push 0xfde9
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.00426230
add esp, 4
mov byte [esp + 0x5b0], 4
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x4029d3
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004662f1
add esp, 4
xor edx, edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x8c], esi
jb 0x402a00
mov eax, dword [esp + 0x78]
push eax
call fcn.004662f1
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
cmp dword [esp + 0xdc], ebx
je 0x402a76
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00404dd0
add esp, 8
mov byte [esp + 0x5b0], 6
mov edi, eax
lea esi, [esp + 0xb0]
call fcn.00404330
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x70], 0x10
jb 0x402a65
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004662f1
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], 0
lea edx, [esp + 0xb0]
push 0xfde9
push edx
lea ebx, [esp + 0x64]
call fcn.00426030
add esp, 8
mov byte [esp + 0x5b0], 7
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x402aa3
mov eax, dword [eax]
push eax
push 0x492028
call dword [0x48f334]
test eax, eax
setne al
mov byte [0x4adec0], al
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x70], edi
jb 0x402ad4
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004662f1
add esp, 4
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
call fcn.0041cd20
mov esi, dword [esp + 0x18]
push 0x492038
push esi
call fcn.004020b0
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x28], eax
je 0x4030e2
push 0x492044
push esi
call fcn.004020b0
mov esi, eax
add esp, 8
mov dword [esp + 0x14], esi
cmp esi, ebx
jne 0x402ec7
lea ecx, [esp + 0x94]
call fcn.00427ec0
mov byte [esp + 0x5b0], 8
push 0x208
lea ecx, [esp + 0x17a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x180], ax
call fcn.00470040
add esp, 0xc
push 0x208
lea eax, [esp + 0x392]
xor edx, edx
push ebx
push eax
mov word [esp + 0x398], dx
call fcn.00470040
mov eax, dword [esp + 0xa0]
add esp, 0xc
cmp dword [esp + 0xa8], edi
jae 0x402b97
lea eax, [esp + 0x94]
lea ecx, [esp + 0x174]
push ecx
push ebx
push 0x49204c
push eax
call dword [0x48f23c]
test eax, eax
je 0x402e3b
mov eax, dword [0x4adec4]
cmp eax, ebx
jne 0x402bc4
push ebx
call dword [fcn.0048f234]
push 0x104
lea edx, [esp + 0x390]
push edx
push eax
call dword [0x48f22c]
test eax, eax
je 0x402e3b
lea eax, [esp + 0x174]
lea ecx, [esp + 0x78]
call fcn.004042c0
mov byte [esp + 0x5b0], 9
push 0x492060
mov ebx, 3
lea edi, [esp + 0x7c]
call fcn.004045b0
cmp eax, 0xffffffff
je 0x402c55
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x78]
mov edx, ecx
cmp esi, 8
jae 0x402c26
lea edx, [esp + 0x78]
cmp word [edx + eax*2], 0x2e
jne 0x402c55
cmp esi, 8
jae 0x402c36
lea ecx, [esp + 0x78]
mov edx, 0x5f
push 0x492060
lea ebx, [edx - 0x5c]
lea edi, [esp + 0x7c]
mov word [ecx + eax*2], dx
call fcn.004045b0
cmp eax, 0xffffffff
jne 0x402c10
push 4
mov eax, 0x492068
lea ecx, [esp + 0x7c]
call fcn.004049a0
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x402c77
lea eax, [esp + 0x78]
push 0
push eax
lea eax, [esp + 0x394]
push eax
call dword [0x48f230]
test eax, eax
je 0x402e28
lea ecx, [esp + 0x104]
call fcn.00427ca0
mov byte [esp + 0x5b0], 0xa
push 0xfde9
mov edx, eax
lea ecx, [esp + 0x124]
call fcn.00426230
add esp, 4
mov byte [esp + 0x5b0], 0xb
push eax
lea ecx, [esp + 0x140]
push ecx
call fcn.004283b0
mov byte [esp + 0x5b8], 0xc
push 0xfde9
push eax
lea ebx, [esp + 0x168]
call fcn.00426030
add esp, 0x10
mov esi, eax
mov byte [esp + 0x5b0], 0xd
mov eax, 0x492074
lea ecx, [esp + 0x5c]
call fcn.004042c0
mov byte [esp + 0x5b0], 0xe
lea edx, [esp + 0xe8]
push edx
mov edx, esi
mov ecx, eax
call fcn.00404e80
add esp, 4
mov byte [esp + 0x5b0], 0x10
lea esi, [esp + 0x5c]
call fcn.00401760
mov byte [esp + 0x5b0], 0x11
mov esi, ebx
call fcn.00401760
mov byte [esp + 0x5b0], 0x12
lea esi, [esp + 0x13c]
call fcn.00420fb0
mov byte [esp + 0x5b0], 0x13
lea esi, [esp + 0x120]
call fcn.00420fb0
mov byte [esp + 0x5b0], 0x14
lea esi, [esp + 0x104]
call fcn.00401760
mov ecx, dword [esp + 0xe8]
mov eax, 8
cmp dword [esp + 0xfc], eax
jae 0x402d99
lea ecx, [esp + 0xe8]
cmp dword [esp + 0x8c], eax
mov eax, dword [esp + 0x78]
jae 0x402daa
lea eax, [esp + 0x78]
push 5
push 0
push ecx
push eax
push 0x492098
push 0
call dword [0x48f2a0]
mov byte [esp + 0x5b0], 9
lea esi, [esp + 0xe8]
call fcn.00401760
mov byte [esp + 0x5b0], 8
lea esi, [esp + 0x78]
call fcn.00401760
mov byte [esp + 0x5b0], 5
lea esi, [esp + 0x94]
call fcn.00401760
mov byte [esp + 0x5b0], 0
lea esi, [esp + 0xcc]
call fcn.00420fb0
mov dword [esp + 0x5b0], 0xffffffff
lea esi, [esp + 0xb0]
call fcn.00420fb0
xor eax, eax
jmp 0x4041c6
mov byte [esp + 0x5b0], 8
lea esi, [esp + 0x78]
call fcn.00401760
xor ebx, ebx
lea ecx, [esp + 0x5c]
call fcn.00427ca0
mov byte [esp + 0x5b0], 0x15
mov edi, eax
mov esi, 0x4aa3ac
call fcn.00404540
mov byte [esp + 0x5b0], 8
cmp dword [esp + 0x70], 8
jb 0x402e74
mov eax, dword [esp + 0x5c]
push eax
call fcn.004662f1
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0xa8], 8
jb 0x402eaa
mov edx, dword [esp + 0x94]
push edx
call fcn.004662f1
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
jmp 0x403027
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov byte [esp + 0x5b0], 0x16
mov eax, esi
mov edi, 6
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402ef0
sub eax, edx
cmp eax, 6
jbe 0x402f3d
jmp 0x402f04
mov esi, dword [esp + 0x14]
movsx ecx, byte [edi + esi]
push ecx
call fcn.004665d1
add esp, 4
test eax, eax
jne 0x402f3d
mov bl, byte [edi + esi]
lea esi, [esp + 0x78]
call fcn.00404230
mov eax, dword [esp + 0x14]
inc edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402f30
sub eax, edx
cmp edi, eax
jb 0x402f00
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x98]
call fcn.004281b0
add esp, 4
mov byte [esp + 0x5b0], 0x17
push 0xfde9
push eax
lea ebx, [esp + 0x64]
call fcn.00426030
add esp, 8
mov byte [esp + 0x5b0], 0x18
mov edi, eax
mov esi, 0x4aa3ac
call fcn.00404540
mov byte [esp + 0x5b0], 0x17
cmp dword [esp + 0x70], 8
jb 0x402f9b
mov eax, dword [esp + 0x5c]
push eax
call fcn.004662f1
add esp, 4
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], esi
mov word [esp + 0x5c], cx
mov byte [esp + 0x5b0], 0x16
mov ebx, 0x10
cmp dword [esp + 0xa8], ebx
jb 0x402fd6
mov edx, dword [esp + 0x94]
push edx
call fcn.004662f1
add esp, 4
mov edi, 0xf
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], esi
mov byte [esp + 0x94], 0
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x8c], ebx
jb 0x40300f
mov eax, dword [esp + 0x78]
push eax
call fcn.004662f1
add esp, 4
xor ebx, ebx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], esi
mov byte [esp + 0x78], 0
lea edi, [ebx + 7]
lea ecx, [esp + 0x5c]
call fcn.004238b0
mov esi, eax
mov byte [esp + 0x5b0], 0x19
cmp esi, 0x4aa390
je 0x4030b2
cmp dword [0x4aa3a4], 8
jb 0x40305a
mov ecx, dword [0x4aa390]
push ecx
call fcn.004662f1
add esp, 4
xor edx, edx
mov dword [0x4aa3a4], edi
mov dword [0x4aa3a0], ebx
mov word [0x4aa390], dx
cmp dword [esi + 0x14], 8
jae 0x40308c
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
push esi
push 0x4aa390
call fcn.00465f90
add esp, 0xc
jmp 0x403096
mov ecx, dword [esi]
mov dword [0x4aa390], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [0x4aa3a0], edx
mov eax, dword [esi + 0x14]
mov dword [0x4aa3a4], eax
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], cx
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x70], 8
jb 0x4030ce
mov edx, dword [esp + 0x5c]
push edx
call fcn.004662f1
add esp, 4
xor eax, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
jmp 0x403c03
mov edi, 3
mov eax, 0x4920a4
lea esi, [esp + 0x78]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00404720
mov byte [esp + 0x5b0], 0x1a
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.00402010
mov byte [esp + 0x5b0], 0x1b
mov esi, dword [eax + 0x10]
mov ecx, esi
cmp ecx, esi
jae 0x403130
mov edi, 0x10
cmp dword [eax + 0x14], edi
jb 0x40313e
mov edx, dword [eax]
jmp 0x403140
mov edx, eax
xor eax, eax
mov ecx, 0x491d48
call fcn.00401f10
cmp eax, ebx
jne 0x403159
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
setg byte [esp + 0x13]
mov byte [esp + 0x5b0], 0x1a
cmp dword [esp + 0x70], edi
jb 0x403179
mov edx, dword [esp + 0x5c]
push edx
call fcn.004662f1
add esp, 4
mov esi, 0xf
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], 0
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x8c], edi
jb 0x4031a9
mov eax, dword [esp + 0x78]
push eax
call fcn.004662f1
add esp, 4
cmp byte [esp + 0x13], 0
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], 0
je 0x403c03
lea ecx, [esp + 0x2c]
push ecx
push edi
push ebx
call dword [0x48f2a4]
test eax, eax
js 0x403282
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x38c]
push edx
push eax
call dword [0x48f29c]
test eax, eax
je 0x403282
lea eax, [esp + 0x38c]
lea ecx, [esp + 0x120]
call fcn.004042c0
mov byte [esp + 0x5b0], 0x1c
lea eax, [esp + 0x38c]
lea ecx, [esp + 0x104]
call fcn.004042c0
mov byte [esp + 0x5b0], 0x1d
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4920a8
push eax
push ecx
call fcn.00404d40
add esp, 0xc
mov byte [esp + 0x5cc], 0x1e
mov byte [esp + 0x5cc], 0x1d
call fcn.00401f90
mov byte [esp + 0x5b0], 0x1c
lea esi, [esp + 0x104]
call fcn.00401760
mov byte [esp + 0x5b0], 5
lea esi, [esp + 0x120]
call fcn.00401760
push 6
mov esi, 0x4aed40
call fcn.00428950
lea ecx, [esp + 0x5c]
call fcn.00427dd0
mov byte [esp + 0x5b0], 0x1f
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x4032ab
mov eax, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [0x48f370]
mov edi, eax
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x70], esi
jb 0x4032d4
mov eax, dword [esp + 0x5c]
push eax
call fcn.004662f1
add esp, 4
xor ecx, ecx
push edi
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], cx
call fcn.00465d85
mov esi, eax
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], esi
call fcn.00427dd0
mov byte [esp + 0x5b0], 0x20
cmp dword [eax + 0x14], 8
jb 0x40330f
mov eax, dword [eax]
push esi
push edi
push ebx
push eax
call dword [0x48f374]
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x70], 8
jb 0x403335
mov edx, dword [esp + 0x5c]
push edx
call fcn.004662f1
add esp, 4
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
push 0x4920c0
xor eax, eax
push esi
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], ax
call dword [0x48f36c]
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
push eax
call fcn.00466739
mov eax, esi
shr eax, 0x10
mov dword [esp + 0x24], eax
mov eax, edi
movzx ecx, si
shr eax, 0x10
movzx edx, di
mov dword [esp + 0x18], eax
add esp, 4
mov edi, 0x17
mov eax, 0x4920c4
lea esi, [esp + 0x94]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], 0
call fcn.00404720
mov byte [esp + 0x5b0], 0x21
mov eax, esi
push eax
xor edx, edx
mov ecx, 0x4aed40
call fcn.00428a90
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0xa8], 0x10
jb 0x403401
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004662f1
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], 0
call fcn.00427dd0
mov byte [esp + 0x5b0], 0x22
push ebx
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.00426230
add esp, 4
mov byte [esp + 0x5b0], 0x23
cmp dword [eax + 0x14], 0x10
jb 0x40344e
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
mov edi, 0xf
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov eax, 0x4920dc
mov dword [esp + 0x3c], esp
mov byte [esi], 0
call fcn.00404720
mov byte [esp + 0x5d0], 0x24
push 4
push 0x4aed40
mov byte [esp + 0x5d8], 0x23
call fcn.00428df0
add esp, 0x28
mov byte [esp + 0x5b0], 0x22
cmp dword [esp + 0x70], 0x10
jb 0x4034ab
mov edx, dword [esp + 0x5c]
push edx
call fcn.004662f1
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], 0
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0xa8], 8
jb 0x4034de
mov eax, dword [esp + 0x94]
push eax
call fcn.004662f1
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
xor ecx, ecx
push eax
mov word [esp + 0x9c], cx
mov ecx, dword [esp + 0x38]
push ecx
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov edi, 0x19
mov eax, 0x4920ec
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x48], esp
mov byte [esi], 0
call fcn.00404720
mov byte [esp + 0x5dc], 0x25
push 4
push 0x4aed40
mov byte [esp + 0x5e4], 5
call fcn.00428df0
add esp, 0x34
cmp byte [0x4adec0], 0
mov eax, 0x492108
jne 0x403565
mov eax, 0x49210c
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov edi, 0xb
mov eax, 0x492110
mov dword [esp + 0x3c], esp
mov byte [esi], 0
call fcn.00404720
mov byte [esp + 0x5d0], 0x26
push 4
push 0x4aed40
mov byte [esp + 0x5d8], 5
call fcn.00428df0
xor eax, eax
add esp, 0x28
mov word [esp + 0x94], ax
push 0x12
mov eax, 0x49211c
lea esi, [esp + 0x98]
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebx
call fcn.00404ad0
mov byte [esp + 0x5b0], 0x27
lea ecx, [esp + 0xe8]
push ecx
mov ecx, esi
call fcn.0041b520
add esp, 4
mov byte [esp + 0x5b0], 0x28
push ebx
mov edx, eax
lea ecx, [esp + 0x60]
call fcn.00426230
add esp, 4
mov byte [esp + 0x5b0], 0x29
cmp dword [eax + 0x14], 0x10
jb 0x40361a
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov edi, 0x14
mov eax, 0x492144
mov dword [esp + 0x3c], esp
mov byte [esi], 0
call fcn.00404720
mov byte [esp + 0x5d0], 0x2a
push 4
push 0x4aed40
mov byte [esp + 0x5d8], 0x29
call fcn.00428df0
add esp, 0x28
mov byte [esp + 0x5b0], 0x28
cmp dword [esp + 0x70], 0x10
jb 0x40367b
mov edx, dword [esp + 0x5c]
push edx
call fcn.004662f1
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], 0
mov byte [esp + 0x5b0], 0x27
mov esi, 8
cmp dword [esp + 0xfc], esi
jb 0x4036b2
mov eax, dword [esp + 0xe8]
push eax
call fcn.004662f1
add esp, 4
xor ecx, ecx
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], cx
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0xa8], esi
jb 0x4036ef
mov edx, dword [esp + 0x94]
push edx
call fcn.004662f1
add esp, 4
xor eax, eax
lea esi, [esp + 0x174]
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
call fcn.0041aa40
movzx ecx, word [esp + 0x2ae]
movzx edx, word [esp + 0x2ac]
mov eax, dword [esp + 0x2a0]
push ecx
movzx ecx, word [esp + 0x290]
push edx
push eax
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov edi, 0x11
mov eax, 0x49215c
mov dword [esp + 0x48], esp
mov byte [esi], 0
call fcn.00404720
mov byte [esp + 0x5dc], 0x2b
push 4
push 0x4aed40
mov byte [esp + 0x5e4], 5
call fcn.00428df0
add esp, 0x34
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], 0
mov byte [esp + 0x5b0], 0x2c
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
xor eax, eax
xor ecx, ecx
cpuid
mov dword [esp + 0x94], 0xffffffff
lea esi, [esp + 0x94]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x94]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp ecx, ebx
jl 0x4038d2
xor ecx, ecx
cpuid
lea esi, [esp + 0x94]
mov dword [esi], eax
mov dword [esi + 4], ebx
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5b0], 0x2d
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], eax
lea edi, [eax + 5]
mov dword [esi + 0x10], ebx
mov eax, 0x492170
mov dword [esp + 0x48], esp
mov byte [esi], bl
call fcn.00404720
mov byte [esp + 0x5dc], 0x2e
mov byte [esp + 0x5dc], 0x2d
lea edx, [esp + 0x88]
call fcn.00426c50
add esp, 0x2c
push ebx
lea edx, [esp + 0x60]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x80]
call fcn.00404630
mov byte [esp + 0x5b0], 0x2c
cmp dword [esp + 0x70], 0x10
jb 0x4038af
mov eax, dword [esp + 0x5c]
push eax
call fcn.004662f1
add esp, 4
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x14]
jle 0x4037f0
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x4038e4
lea eax, [esp + 0x78]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov edi, 0xa
mov eax, 0x492188
mov dword [esp + 0x3c], esp
mov byte [esi], bl
call fcn.00404720
mov byte [esp + 0x5d0], 0x2f
push 4
push 0x4aed40
mov byte [esp + 0x5d8], 0x2c
call fcn.00428df0
mov eax, dword [esp + 0xa0]
add esp, 0x28
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x88], ebx
jae 0x403944
lea eax, [esp + 0x78]
mov byte [eax], bl
xor ecx, ecx
mov eax, 0x80000000
cpuid
lea esi, [esp + 0x94]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x94]
mov eax, 0x80000000
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp ecx, eax
jl 0x403a66
lea ecx, [ecx]
xor ecx, ecx
cpuid
lea esi, [esp + 0x94]
mov dword [esi], eax
mov dword [esi + 4], ebx
xor eax, eax
mov ebx, 0xf
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], eax
mov byte [esp + 0x5c], al
mov byte [esp + 0x5b0], 0x30
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push ecx
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov byte [esi], al
lea edi, [ebx + 5]
mov eax, 0x492170
mov dword [esp + 0x48], esp
call fcn.00404720
mov byte [esp + 0x5dc], 0x31
mov byte [esp + 0x5dc], 0x30
lea edx, [esp + 0x88]
call fcn.00426c50
add esp, 0x2c
push 0
lea eax, [esp + 0x60]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x80]
call fcn.00404630
mov byte [esp + 0x5b0], 0x2c
cmp dword [esp + 0x70], 0x10
jb 0x403a40
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004662f1
add esp, 4
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x14]
jle 0x403980
jmp 0x403a6b
mov ebx, 0xf
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x403a7d
lea eax, [esp + 0x78]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov edi, 0xa
mov eax, 0x492194
mov dword [esp + 0x3c], esp
mov byte [esi], 0
call fcn.00404720
mov byte [esp + 0x5d0], 0x32
push 4
push 0x4aed40
mov byte [esp + 0x5d8], 0x2c
call fcn.00428df0
mov edx, dword [esp + 0x1a8]
mov eax, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x1b0]
add esp, 0x28
push edx
push eax
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov edi, 0xc
mov eax, 0x4921a0
mov dword [esp + 0x44], esp
mov byte [esi], 0
call fcn.00404720
mov byte [esp + 0x5d8], 0x33
push 4
push 0x4aed40
mov byte [esp + 0x5e0], 0x2c
call fcn.00428df0
mov edx, dword [esp + 0x388]
mov eax, dword [esp + 0x390]
mov ecx, dword [esp + 0x38c]
add esp, 0x30
push edx
push eax
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov edi, 0x10
mov eax, 0x4921b0
mov dword [esp + 0x44], esp
mov byte [esi], 0
call fcn.00404720
mov byte [esp + 0x5d8], 0x34
push 4
push 0x4aed40
mov byte [esp + 0x5e0], 0x2c
call fcn.00428df0
mov edx, dword [esp + 0x1a4]
add esp, 0x30
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov edi, 6
mov eax, 0x4921c4
mov dword [esp + 0x3c], esp
mov byte [esi], 0
call fcn.00404720
mov byte [esp + 0x5d0], 0x35
push 4
push 0x4aed40
mov byte [esp + 0x5d8], 0x2c
call fcn.00428df0
add esp, 0x28
call fcn.0041f410
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x8c], 0x10
jb 0x403bea
mov eax, dword [esp + 0x78]
push eax
call fcn.004662f1
add esp, 4
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
xor ebx, ebx
xor ecx, ecx
push 0xe
mov eax, 0x491f00
lea esi, [esp + 0x60]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], cx
call fcn.00404ad0
mov byte [esp + 0x5b0], 0x36
lea edx, [esp + 0x78]
push edx
mov ecx, esi
call fcn.0041b520
add esp, 4
mov byte [esp + 0x5b0], 0x37
push 0x491ef0
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.00404d40
add esp, 0xc
mov byte [esp + 0x5b0], 0x38
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x403c73
mov eax, dword [eax]
push eax
push 1
push ebx
call dword [fcn.0048f238]
test eax, eax
sete byte [esp + 0x13]
mov byte [esp + 0x5b0], 0x37
cmp dword [esp + 0xfc], edi
jb 0x403ca5
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.004662f1
add esp, 4
mov esi, 7
xor edx, edx
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], dx
mov byte [esp + 0x5b0], 0x36
cmp dword [esp + 0x8c], edi
jb 0x403ce0
mov eax, dword [esp + 0x78]
push eax
call fcn.004662f1
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x70], edi
jb 0x403d10
mov edx, dword [esp + 0x5c]
push edx
call fcn.004662f1
add esp, 4
xor eax, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
lea esi, [eax + 1]
cmp byte [esp + 0x13], al
jne 0x403d2c
mov esi, dword [esp + 0x14]
call dword [fcn.0048f228]
cmp eax, 0xb7
je 0x403d41
cmp esi, ebx
je 0x403e17
xor ecx, ecx
push 0x16
mov eax, 0x4921cc
lea esi, [esp + 0x60]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], cx
call fcn.00404ad0
mov byte [esp + 0x5b0], 0x39
push 0x10
mov edx, esi
xor ecx, ecx
call fcn.00402130
add esp, 4
mov esi, eax
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x70], edi
jb 0x403d97
mov edx, dword [esp + 0x5c]
push edx
call fcn.004662f1
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
mov byte [esp + 0x5b0], al
cmp dword [esp + 0xe0], 0x10
jb 0x403dcb
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004662f1
add esp, 4
mov edi, 0xf
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], 0
mov dword [esp + 0x5b0], 0xffffffff
cmp dword [esp + 0xc4], 0x10
jb 0x403e0b
mov edx, dword [esp + 0xb0]
push edx
call fcn.004662f1
add esp, 4
mov dword [esp + 0xc4], edi
jmp 0x4041b5
xor eax, eax
mov word [esp + 0x5c], ax
push 0x12
mov eax, 0x49211c
lea esi, [esp + 0x60]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
call fcn.00404ad0
mov byte [esp + 0x5b0], 0x3a
lea ecx, [esp + 0xe8]
push ecx
mov ecx, esi
call fcn.0041b520
add esp, 4
mov byte [esp + 0x5b0], 0x3b
cmp dword [eax + 0x14], edi
jb 0x403e67
mov eax, dword [eax]
push eax
push 1
push ebx
call dword [fcn.0048f238]
cmp eax, ebx
mov dword [0x4adebc], eax
sete byte [esp + 0x13]
mov byte [esp + 0x5b0], 0x3a
cmp dword [esp + 0xfc], edi
jb 0x403e9e
mov edx, dword [esp + 0xe8]
push edx
call fcn.004662f1
add esp, 4
mov esi, 7
xor eax, eax
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], ax
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x70], edi
jb 0x403ed6
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004662f1
add esp, 4
xor edx, edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
lea esi, [edx + 1]
cmp byte [esp + 0x13], dl
jne 0x403ef2
mov esi, dword [esp + 0x14]
call dword [fcn.0048f228]
cmp eax, 0xb7
je 0x403f07
cmp esi, ebx
je 0x403fe1
xor eax, eax
mov word [esp + 0x5c], ax
push 0x17
mov eax, 0x4921fc
lea esi, [esp + 0x60]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
call fcn.00404ad0
mov byte [esp + 0x5b0], 0x3c
push 0x10
mov edx, esi
xor ecx, ecx
call fcn.00402130
add esp, 4
mov esi, eax
mov byte [esp + 0x5b0], 5
cmp dword [esp + 0x70], edi
jb 0x403f5d
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004662f1
add esp, 4
xor edx, edx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
mov byte [esp + 0x5b0], dl
cmp dword [esp + 0xe0], 0x10
jb 0x403f91
mov eax, dword [esp + 0xcc]
push eax
call fcn.004662f1
add esp, 4
mov edi, 0xf
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], 0
mov dword [esp + 0x5b0], 0xffffffff
cmp dword [esp + 0xc4], 0x10
jb 0x403e0b
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.004662f1
add esp, 4
mov dword [esp + 0xc4], edi
jmp 0x4041b5
mov ebx, dword [esp + 0x24]
call fcn.00402400
xor ebx, ebx
push ebx
call dword [0x48f3c8]
call fcn.00402560
test eax, eax
jne 0x404074
mov byte [esp + 0x5b0], bl
mov edi, 0x10
cmp dword [esp + 0xe0], edi
jb 0x404021
mov edx, dword [esp + 0xcc]
push edx
call fcn.004662f1
add esp, 4
mov esi, 0xf
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
mov dword [esp + 0x5b0], 0xffffffff
cmp dword [esp + 0xc4], edi
jb 0x40405f
mov eax, dword [esp + 0xb0]
push eax
call fcn.004662f1
add esp, 4
mov dword [esp + 0xc4], esi
mov byte [esp + 0xb0], bl
xor eax, eax
jmp 0x4041bf
push 1
mov ecx, 0x4aded8
call fcn.004163d0
mov eax, dword [esp + 0x28]
neg eax
sbb eax, eax
and eax, 5
inc eax
push eax
mov ecx, 0x4aded8
call fcn.004128b0
mov esi, dword [0x48f32c]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x4c]
push ecx
call esi
test eax, eax
je 0x4040d1
mov edi, dword [0x48f338]
lea edx, [esp + 0x40]
push edx
call edi
lea eax, [esp + 0x40]
push eax
call dword [0x48f340]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x4c]
push ecx
call esi
test eax, eax
jne 0x4040b1
mov edi, 0x15
mov eax, 0x49222c
lea esi, [esp + 0x5c]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00404720
mov byte [esp + 0x5b0], 0x3d
mov edx, esi
push edx
xor edx, edx
mov ecx, 0x4aed40
call fcn.00428a90
mov byte [esp + 0x5b0], 5
mov edi, 0x10
cmp dword [esp + 0x70], edi
jb 0x40412b
mov eax, dword [esp + 0x5c]
push eax
call fcn.004662f1
add esp, 4
push ebx
mov esi, 0x4aed40
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], 0
call fcn.00428950
mov esi, dword [esp + 0x48]
mov byte [esp + 0x5b0], 0
cmp dword [esp + 0xe0], edi
jb 0x40416c
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004662f1
add esp, 4
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], 0
mov dword [esp + 0x5b0], 0xffffffff
cmp dword [esp + 0xc4], edi
jb 0x4041aa
mov edx, dword [esp + 0xb0]
push edx
call fcn.004662f1
add esp, 4
mov dword [esp + 0xc4], 0xf
mov byte [esp + 0xb0], 0
mov eax, esi
mov dword [esp + 0xc0], ebx
mov ecx, dword [esp + 0x5a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x590]
xor ecx, esp
call fcn.00465d90
mov esp, ebp
pop ebp
ret 0x10