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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7792b2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
mov dword [esp + 0x14], eax
mov edx, ecx
imul edx, edx, 0x334
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, ecx
imul edx, edx, 0x30c
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, ecx
imul ecx, ecx, 0x2d0
imul edx, edx, 0xdc
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [0x88205c]
mov dword [esp + 0x80], edi
push esi
lea edi, [esp + 0x78]
mov dword [esp + 0x80], ebx
call fcn.00432a40
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
mov edx, ecx
imul edx, edx, 0x26c
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, ecx
imul ecx, ecx, 0x190
imul edx, edx, 0x2e4
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
mov eax, dword [0x8815c0]
mov dword [esp + 0x7c], edi
push esi
lea edi, [esp + 0x78]
mov dword [esp + 0x84], ebx
call fcn.00432a40
mov edx, dword [0x88b12c]
mov ecx, dword [edx + 0x9e0]
mov edx, ecx
imul edx, edx, 0xfa
imul ecx, ecx, 0x2e4
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov ebx, dword [0x8808b4]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov eax, esi
call fcn.00431710
mov eax, dword [0x883e24]
test eax, eax
jne 0x691dd3
xor edx, edx
xor ebx, ebx
jmp 0x691dd8
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0xd4]
mov eax, dword [0x88b12c]
imul ecx, ecx, 0x5f
mov edi, dword [eax + 0x9e0]
add ecx, edx
imul ecx, edi
imul edi, ebx
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ebx, dword [0x882060]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x1b4e81b5
imul edi
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov eax, esi
call fcn.00431710
mov edi, 7
push edi
xor edx, edx
xor ebx, ebx
push str.CLASSIC
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
call fcn.00403a80
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1e4], ebx
mov eax, dword [0x88b148]
push 0x1b8
add eax, 0x7ec
lea esi, [esp + 0x12c]
call fcn.004711e0
mov byte [esp + 0x1e0], 2
cmp dword [esp + 0x38], 8
jb 0x691e91
mov ecx, dword [esp + 0x24]
push ecx
call fcn.006441c7
add esp, 4
push 9
xor edx, edx
xor eax, eax
push str.LIGHTNING
lea ecx, [esp + 0x60]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
call fcn.00403a80
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e0], 3
mov eax, dword [0x88b148]
push ecx
push 0x1b9
add eax, 0x7ec
lea esi, [esp + 0x148]
call fcn.004711e0
mov byte [esp + 0x1e0], 5
cmp dword [esp + 0x70], 8
jb 0x691f03
mov edx, dword [esp + 0x5c]
push edx
call fcn.006441c7
add esp, 4
xor ecx, ecx
push 5
xor eax, eax
mov word [esp + 0x28], cx
push 0x7ae748
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
call fcn.00403a80
lea edx, [esp + 0x20]
mov byte [esp + 0x1e0], 6
mov eax, dword [0x88b148]
push edx
push 0x1ba
add eax, 0x7ec
lea esi, [esp + 0x164]
call fcn.004711e0
mov byte [esp + 0x1e0], 8
cmp dword [esp + 0x38], 8
jb 0x691f75
mov eax, dword [esp + 0x24]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
push 0xb
mov word [esp + 0x28], cx
xor edx, edx
push 0x7ae754
lea ecx, [esp + 0x60]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
call fcn.00403a80
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x1e4], 9
mov eax, dword [0x88b148]
push 0x1bb
add eax, 0x7ec
lea esi, [esp + 0x180]
call fcn.004711e0
mov byte [esp + 0x1e0], 0xb
cmp dword [esp + 0x70], 8
jb 0x691fe7
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.006441c7
add esp, 4
push 9
xor edx, edx
xor eax, eax
push str.ICE_STORM
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
call fcn.00403a80
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e0], 0xc
mov eax, dword [0x88b148]
push ecx
push 0x1bc
add eax, 0x7ec
lea esi, [esp + 0x19c]
call fcn.004711e0
mov byte [esp + 0x1e0], 0xe
cmp dword [esp + 0x38], 8
jb 0x692059
mov edx, dword [esp + 0x24]
push edx
call fcn.006441c7
add esp, 4
xor ecx, ecx
push 0xc
xor eax, eax
mov word [esp + 0x110], cx
push str.DIAMOND_MINE
lea ecx, [esp + 0x110]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
call fcn.00403a80
lea edx, [esp + 0x108]
mov byte [esp + 0x1e0], 0xf
mov eax, dword [0x88b148]
push edx
push 0x1bd
add eax, 0x7ec
lea esi, [esp + 0x1b8]
call fcn.004711e0
cmp dword [esp + 0x120], 8
jb 0x6920d8
mov eax, dword [esp + 0x10c]
push eax
call fcn.006441c7
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1e0], 0x10
mov ecx, dword [0x880eac]
mov eax, edi
call fcn.00430c10
mov eax, 0x88ba50
mov ecx, edi
call fcn.00430c20
mov ecx, 0x884818
lea eax, [esp + 0x88]
call fcn.00434820
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub esp, 0x1c
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0x3c], esp
push 4
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x7ae79c
mov byte [ecx + 4], bl
call fcn.004016e0
mov ecx, dword [0x880eac]
call fcn.006f1280
add esp, 0x2c
mov ecx, 0xe8c090
lea eax, [esp + 0x88]
call fcn.00434820
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub esp, 0x1c
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0x3c], esp
push 7
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x7ae7a4
mov byte [ecx + 4], bl
call fcn.004016e0
mov ecx, dword [0x880eac]
call fcn.006f1280
add esp, 0x2c
push ebx
push ebx
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x90]
call fcn.004348b0
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
sub esp, 0x1c
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 7
push 0x7ae7ac
mov byte [ecx + 4], bl
call fcn.004016e0
mov ecx, dword [0x880eac]
call fcn.006f1280
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
mov edx, ecx
imul ecx, ecx, 0x456
imul edx, edx, 0x14a
add esp, 0x2c
mov eax, 0x1b4e81b5
imul edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
sar edx, 7
push 1
mov eax, edx
push ebx
shr eax, 0x1f
add eax, edx
push 0xffffffffffffffff
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0xd4]
push ecx
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esp + ecx*4 + 0x144]
push edx
mov ecx, edi
call fcn.004335e0
mov ecx, dword [0x880b88]
mov eax, edi
call fcn.00430c10
mov ecx, dword [0x88ba50]
mov edx, dword [0x88ba54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x88ba58]
sub esp, 0x1c
mov dword [eax + 4], edx
mov edx, dword [0x88ba5c]
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 4
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x7ae7b4
mov dword [eax + 0xc], edx
mov byte [ecx + 4], bl
call fcn.004016e0
mov ecx, dword [0x880b88]
call fcn.006f1280
add esp, 0x2c
push ebx
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x8c]
call fcn.00434890
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 4
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x7ae7bc
mov byte [ecx + 4], bl
call fcn.004016e0
mov ecx, dword [0x880b88]
call fcn.006f1280
add esp, 0x2c
xor ecx, ecx
push 6
mov word [esp + 0x110], cx
push str.Player
lea ecx, [esp + 0x110]
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], ebx
call fcn.00403a80
lea edx, [esp + 0x108]
mov byte [esp + 0x1e0], 0x11
mov eax, dword [0x88b148]
push edx
push 0x1be
add eax, 0x7ec
lea esi, [esp + 0x44]
call fcn.004711e0
mov esi, eax
mov byte [esp + 0x1e0], 0x12
mov eax, dword [0x88b12c]
mov ecx, dword [eax + 0x9e0]
mov edx, ecx
imul ecx, ecx, 0x348
imul edx, edx, 0x186
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
mov eax, edi
call fcn.004316d0
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x6923ef
mov edx, dword [esp + 0x40]
push edx
call fcn.006441c7
add esp, 4
xor eax, eax
mov byte [esp + 0x1e0], 0x10
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
cmp dword [esp + 0x120], esi
jb 0x692423
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.006441c7
add esp, 4
push 6
xor edx, edx
push str.Points
lea ecx, [esp + 0x110]
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], dx
call fcn.00403a80
lea eax, [esp + 0x108]
push eax
mov byte [esp + 0x1e4], 0x13
mov eax, dword [0x88b148]
push 0x1bf
add eax, 0x7ec
lea esi, [esp + 0x44]
call fcn.004711e0
mov esi, eax
mov byte [esp + 0x1e0], 0x14
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
mov edx, ecx
imul ecx, ecx, 0x55a
imul edx, edx, 0x186
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
mov eax, edi
call fcn.004316d0
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x6924e2
mov edx, dword [esp + 0x40]
push edx
call fcn.006441c7
add esp, 4
xor eax, eax
mov byte [esp + 0x1e0], 0x10
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
cmp dword [esp + 0x120], esi
jb 0x692516
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.006441c7
add esp, 4
mov ecx, dword [0x88224c]
mov eax, edi
call fcn.00430c10
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x1db
jmp 0x692537
xor ebx, ebx
mov ecx, 0xffcb58
lea eax, [esp + 0x74]
call fcn.00434820
mov ecx, edi
call fcn.00430c20
mov edx, 0x18
push 8
lea ecx, [edx + 0x28]
lea eax, [esp + 0x5c]
call fcn.00434890
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub esp, 0x1c
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0xb0], esp
push 7
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x7ae7f4
mov byte [ecx + 4], bl
call fcn.004016e0
mov ecx, dword [0x88224c]
call fcn.006f1280
add esp, 0x2c
push ebx
push ebx
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x28]
call fcn.004348b0
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub esp, 0x1c
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0xb0], esp
push 4
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x7ae7fc
mov byte [ecx + 4], bl
call fcn.004016e0
mov ecx, dword [0x88224c]
call fcn.006f1280
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xd4]
mov edx, dword [eax + ecx*4 + 0xd8]
mov eax, dword [esp + 0x40]
mov ecx, dword [edx + eax + 0x20]
add esp, 0x2c
lea esi, [esp + 0x98]
call fcn.00439440
mov ebx, eax
lea esi, [esp + 0x108]
mov byte [esp + 0x1e0], 0x15
call fcn.006984e0
mov ebx, 8
mov byte [esp + 0x1e0], 0x17
cmp dword [esp + 0xb0], ebx
jb 0x692668
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.006441c7
add esp, 4
mov ecx, 7
xor eax, eax
push 3
mov dword [esp + 0xb4], ecx
xor edx, edx
mov dword [esp + 0x58], ecx
push 0x7ae804
lea ecx, [esp + 0x44]
mov dword [esp + 0xb4], eax
mov word [esp + 0xa4], dx
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
call fcn.00403a80
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e0], 0x18
mov eax, dword [0x88b148]
push ecx
push 0x1c0
add eax, 0x7ec
lea esi, [esp + 0xbc]
call fcn.004711e0
mov byte [esp + 0x1e0], 0x19
cmp dword [eax + 0x18], ebx
jb 0x6926de
mov ecx, dword [eax + 4]
jmp 0x6926e1
lea ecx, [eax + 4]
mov eax, dword [esp + 0x18]
inc eax
push eax
push ecx
lea esi, [esp + 0xf4]
mov dword [esp + 0x20], eax
call fcn.00439a90
add esp, 8
mov esi, eax
mov ebx, dword [esp + 0x10]
mov byte [esp + 0x1e0], 0x1a
mov edx, dword [0x88b12c]
mov ecx, dword [edx + 0x9e0]
mov edx, ecx
imul ecx, ecx, 0x302
imul edx, ebx
mov eax, 0x1b4e81b5
imul edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
sar edx, 7
push 1
mov eax, edx
push 0xffffffffffffffff
shr eax, 0x1f
add eax, edx
push 1
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
mov ecx, edi
call fcn.004335e0
cmp dword [esp + 0x104], 8
jb 0x692772
mov edx, dword [esp + 0xf0]
push edx
call fcn.006441c7
add esp, 4
xor eax, eax
cmp dword [esp + 0xcc], 8
mov esi, 7
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], 0
mov word [esp + 0xf0], ax
jb 0x6927ad
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.006441c7
add esp, 4
xor edx, edx
mov byte [esp + 0x1e0], 0x17
cmp dword [esp + 0x54], 8
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], 0
mov word [esp + 0xb8], dx
jb 0x6927e5
mov eax, dword [esp + 0x40]
push eax
call fcn.006441c7
add esp, 4
mov edx, dword [0x88b12c]
xor ecx, ecx
mov dword [esp + 0x54], esi
mov word [esp + 0x40], cx
mov dword [esp + 0x50], 0
mov ecx, dword [edx + 0x9e0]
imul ecx, ecx, 0x244
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov esi, edx
lea eax, [esp + 0x108]
push eax
shr esi, 0x1f
mov eax, edi
add esi, edx
call fcn.00432a30
sub esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xd4]
mov edx, dword [eax + ecx*4 + 0xd8]
add edx, dword [esp + 0x14]
lea eax, [esp + 0xd0]
push esi
push eax
mov ecx, edi
call fcn.006f0d30
add esp, 8
mov esi, eax
mov byte [esp + 0x1e0], 0x1b
mov ecx, dword [0x88b12c]
mov ecx, dword [ecx + 0x9e0]
mov edx, ecx
imul ecx, ecx, 0x348
imul edx, ebx
mov eax, 0x1b4e81b5
imul edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
sar edx, 7
push 1
mov eax, edx
push 0xffffffffffffffff
shr eax, 0x1f
add eax, edx
push 0xffffffffffffffff
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
mov ecx, edi
call fcn.004335e0
mov esi, 8
mov byte [esp + 0x1e0], 0x17
cmp dword [esp + 0xe8], esi
jb 0x6928d3
mov edx, dword [esp + 0xd4]
push edx
call fcn.006441c7
add esp, 4
mov ecx, dword [0x88b12c]
xor eax, eax
mov word [esp + 0xd4], ax
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov ecx, dword [ecx + 0x9e0]
mov edx, ecx
imul ecx, ecx, 0x5aa
imul edx, ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
push 1
mov eax, edx
push 1
shr eax, 0x1f
add eax, edx
push 0xffffffffffffffff
push eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea edx, [esp + 0x128]
push edx
mov ecx, edi
call fcn.004335e0
or ecx, 0xffffffff
lea eax, [esp + 0x88]
call fcn.00434820
mov ecx, edi
call fcn.00430c20
mov byte [esp + 0x1e0], 0x10
cmp dword [esp + 0x120], esi
jb 0x69297f
mov eax, dword [esp + 0x10c]
push eax
call fcn.006441c7
add esp, 4
mov edx, dword [esp + 0x18]
add dword [esp + 0x14], 0x28
add ebx, 0x37
xor ecx, ecx
cmp ebx, 0x401
mov dword [esp + 0x120], 7
mov dword [esp + 0x11c], 0
mov word [esp + 0x10c], cx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ebx
jl 0x692535
push fcn.00406fb0
push 6
push 0x1c
lea eax, [esp + 0x130]
push eax
mov dword [esp + 0x1f0], 0xffffffff
call fcn.0064441b
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret 4