Function at 0x58f3f0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e2886
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x374], ebx
je 0x59069c
mov eax, dword [esp + 0x154]
lea ecx, [esp + 0x64]
mov dword [eax], ebx
call fcn.005970f0
mov cl, byte [esp + 0x33]
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x34], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dl, byte [esp + 0x33]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], dl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov al, byte [esp + 0x33]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 3
call fcn.00544b40
or ebp, 0xffffffff
lea ecx, [esp + 0x98]
mov byte [esp + 0x14c], 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x54], 0xa
call fcn.00592de0
mov cl, byte [esp + 0x33]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x44], cl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dl, byte [esp + 0x33]
push ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x150], 6
mov byte [esp + 0x8c], dl
call fcn.00401850
mov edi, 0x609450
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x609450
lea ecx, [esp + 0x90]
call fcn.004017b0
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x88]
push eax
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x154], 7
call fcn.0055f350
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x150], 6
call fcn.00401850
mov edx, dword [esi + 0x374]
lea ecx, [esp + 0x64]
push edx
call fcn.00592d40
test eax, eax
jne 0x58f65b
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x154], 5
call fcn.0055f4e0
mov edx, dword [esp + 0x48]
push edx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x14c], 4
call fcn.00592eb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 3
call fcn.005581a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 2
call fcn.005b0ee0
mov edx, dword [esp + 0x24]
push edx
call fcn.005bc500
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push eax
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 1
call fcn.005b0ee0
mov edx, dword [esp + 0x14]
push edx
call fcn.005bc500
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push eax
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x154], bl
call fcn.005b0ee0
mov edx, dword [esp + 0x38]
push edx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14c], ebp
call fcn.00597110
xor eax, eax
jmp 0x590724
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x58], ebx
lea ebp, [esi + 0xe4]
cmp dword [ebp + 8], ebx
je 0x58f6c5
mov al, byte [ebp]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x70], esp
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.00401850
mov ecx, dword [0x5e5150]
push ecx
push ebx
push ebp
mov ecx, edi
call fcn.004120f0
lea edx, [esp + 0x44]
push 2
push edx
lea ecx, [esp + 0x7c]
call fcn.00597380
cmp eax, ebx
je 0x58f812
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp edi, ebx
je 0x58f6c5
mov eax, edx
sub eax, edi
sar eax, 3
jne 0x58f6d6
mov eax, dword [esp + 0x58]
add ebp, 0x10
inc eax
cmp eax, 3
mov dword [esp + 0x58], eax
jl 0x58f66d
cmp dword [esp + 0x58], 3
jne 0x58f913
mov cl, byte [esp + 0x33]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x70], esp
push ebx
mov byte [ebp], cl
mov ecx, ebp
call fcn.00401850
mov edi, 0x619c18
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x619c18
mov ecx, ebp
call fcn.004017b0
lea edx, [esp + 0x44]
push 2
push edx
lea ecx, [esp + 0x7c]
call fcn.00597380
cmp eax, ebx
jne 0x58f90b
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x154], 5
call fcn.0055f4e0
mov edx, dword [esp + 0x48]
push edx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x14c], 4
call fcn.00592eb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 3
call fcn.005581a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 2
call fcn.005b0ee0
mov edx, dword [esp + 0x24]
push edx
call fcn.005bc500
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push eax
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 1
call fcn.005b0ee0
mov edx, dword [esp + 0x14]
push edx
call fcn.005bc500
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push eax
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x154], bl
call fcn.005b0ee0
mov edx, dword [esp + 0x38]
push edx
jmp 0x58f8f2
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x154], 5
call fcn.0055f4e0
mov eax, dword [esp + 0x48]
push eax
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x14c], 4
call fcn.00592eb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 3
call fcn.005581a0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 2
call fcn.005b0ee0
mov eax, dword [esp + 0x24]
push eax
call fcn.005bc500
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 1
call fcn.005b0ee0
mov eax, dword [esp + 0x14]
push eax
call fcn.005bc500
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push ecx
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x154], bl
call fcn.005b0ee0
mov eax, dword [esp + 0x38]
push eax
call fcn.005bc500
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
jmp 0x590688
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x58fb98
mov ecx, dword [esi + 0x20]
sub ecx, eax
test ecx, 0xfffffffc
je 0x58fb98
cmp edi, edx
je 0x58f968
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
cmp eax, ecx
je 0x58f961
mov ebp, dword [edi]
cmp dword [eax], ebp
je 0x58f94a
add eax, 4
cmp eax, ecx
jne 0x58f93f
cmp eax, ecx
je 0x58f961
mov edx, dword [esp + 0x18]
push edi
push edx
lea ecx, [esp + 0x18]
call fcn.005554a0
mov edx, dword [esp + 0x3c]
add edi, 8
cmp edi, edx
jne 0x58f933
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x58f981
sub eax, ecx
test eax, 0xfffffff8
jne 0x58fcbf
lea edx, [esp + 0x88]
push 0x39
push edx
mov ecx, 0x626e68
call fcn.0056aec0
mov ecx, dword [0x5e5150]
mov byte [esp + 0x14c], 8
push ecx
push ebx
push eax
mov ecx, 0x626ec0
call fcn.004120f0
cmp dword [0x626ec8], ebx
jne 0x58fa55
mov edi, str.DATADRV_NO_DATASTREAM_FOUND
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DATADRV_NO_DATASTREAM_FOUND
mov ecx, 0x626ec0
call fcn.004017b0
mov edi, str.DATADRV_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x626ec8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jbe 0x58fa55
mov edi, str.DATADRV_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, 0x626ec0
call fcn.00412310
mov eax, dword [0x626ec8]
cmp eax, edi
jae 0x58fa18
mov edi, eax
cmp edi, ebx
jbe 0x58fa55
mov ecx, dword [0x626ec4]
sub eax, edi
push eax
lea edx, [edi + ecx]
push edx
push ecx
call fcn.005bcf90
mov ebp, dword [0x626ec8]
add esp, 0xc
sub ebp, edi
mov ecx, 0x626ec0
push ebx
push ebp
call fcn.004018c0
test al, al
je 0x58fa55
push ebp
mov ecx, 0x626ec0
call fcn.004018a0
push ebx
push 1
sub esp, 0x10
add esi, 8
mov ecx, esp
mov dword [esp + 0x8c], esp
push esi
call fcn.00411fd0
sub esp, 0x10
mov byte [esp + 0x174], 9
mov ecx, esp
mov dword [esp + 0x88], esp
push 0x626ec0
call fcn.00411fd0
mov ecx, 0x619a58
mov byte [esp + 0x174], 8
call fcn.00543a40
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x150], 6
call fcn.00401850
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x154], 5
call fcn.0055f4e0
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x14c], 4
call fcn.00592eb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 3
call fcn.005581a0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 2
call fcn.005b0ee0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005bc500
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push edx
push eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x154], 1
call fcn.005b0ee0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005bc500
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push edx
push eax
mov dword [esp + 0x24], ebx
mov byte [esp + 0x154], bl
call fcn.005b0ee0
mov ecx, dword [esp + 0x38]
push ecx
jmp 0x58ff34
cmp edi, ebx
jne 0x58fba0
xor edi, edi
jmp 0x58fba7
sub edx, edi
sar edx, 3
mov edi, edx
lea ecx, [esp + 0x10]
call fcn.00592bf0
cmp edi, eax
ja 0x58fbf3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
call fcn.00592ca0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.005b0ee0
lea ecx, [esp + 0x34]
call fcn.00592bf0
mov edx, dword [esp + 0x14]
lea eax, [edx + eax*8]
mov dword [esp + 0x18], eax
jmp 0x58f96c
lea ecx, [esp + 0x34]
call fcn.00592bf0
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00592c10
cmp edi, eax
ja 0x58fc5b
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
call fcn.00592bf0
mov ecx, dword [esp + 0x38]
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x14]
push eax
push edi
push ecx
call fcn.00592ca0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
add esp, 0xc
lea ecx, [esp + 0x10]
push edx
push eax
push edi
call fcn.00592c30
lea ecx, [esp + 0x34]
call fcn.00592bf0
mov ecx, dword [esp + 0x14]
lea eax, [ecx + eax*8]
mov dword [esp + 0x18], eax
jmp 0x58f96c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.005b0ee0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x34]
call fcn.00592bf0
cmp eax, ebx
jge 0x58fc8a
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.005bcf2f
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x14], eax
push eax
mov eax, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00592c30
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
jmp 0x58f96c
cmp dword [esp + 0x58], 3
jne 0x59008a
lea edx, [esp + 0xf4]
push 0x15
push edx
mov ecx, 0x626e68
call fcn.0056aec0
mov ecx, dword [0x5e5150]
mov byte [esp + 0x14c], 0xa
push ecx
push ebx
push eax
mov ecx, 0x626ec0
call fcn.004120f0
cmp dword [0x626ec8], ebx
jne 0x58fd9e
mov edi, str.DATADRV_SELECT_DATASTREAM
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DATADRV_SELECT_DATASTREAM
mov ecx, 0x626ec0
call fcn.004017b0
mov edi, str.DATADRV_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x626ec8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jbe 0x58fd9e
mov edi, str.DATADRV_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, 0x626ec0
call fcn.00412310
mov eax, dword [0x626ec8]
cmp eax, edi
jae 0x58fd61
mov edi, eax
cmp edi, ebx
jbe 0x58fd9e
mov ecx, dword [0x626ec4]
sub eax, edi
push eax
lea edx, [edi + ecx]
push edx
push ecx
call fcn.005bcf90
mov ebp, dword [0x626ec8]
add esp, 0xc
sub ebp, edi
mov ecx, 0x626ec0
push ebx
push ebp
call fcn.004018c0
test al, al
je 0x58fd9e
push ebp
mov ecx, 0x626ec0
call fcn.004018a0
mov dl, byte [0x626ec0]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x70], esp
push ebx
mov ecx, edi
mov byte [edi], dl
call fcn.00401850
mov eax, dword [0x5e5150]
mov ecx, edi
push eax
push ebx
push 0x626ec0
call fcn.004120f0
mov ecx, dword [0x619a6c]
call fcn.00544bf0
push 1
lea ecx, [esp + 0xf8]
mov byte [esp + 0x150], 6
call fcn.00401850
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp edi, eax
je 0x58fe3c
mov edx, dword [edi]
lea ecx, [esp + 0x104]
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.00597190
mov ecx, dword [esp + 0x110]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.005971d0
mov ecx, dword [0x619a6c]
call fcn.00545120
mov eax, dword [esp + 0x18]
add edi, 8
cmp edi, eax
jne 0x58fdf7
mov ecx, dword [0x619a6c]
lea edx, [esp + 0x78]
push edx
call fcn.00545270
test al, al
jne 0x58ff4d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x154], 5
call fcn.0055f4e0
mov edx, dword [esp + 0x48]
push edx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x14c], 4
call fcn.00592eb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 3
call fcn.005581a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 2
call fcn.005b0ee0
mov edx, dword [esp + 0x24]
push edx
call fcn.005bc500
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push eax
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 1
call fcn.005b0ee0
mov edx, dword [esp + 0x14]
push edx
call fcn.005bc500
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push eax
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x154], bl
call fcn.005b0ee0
mov edx, dword [esp + 0x38]
push edx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
jmp 0x59070b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
mov edi, eax
je 0x58ff90
jmp 0x58ff61
mov eax, dword [esp + 0x14]
mov ecx, edi
sub ecx, eax
sar ecx, 3
push ecx
lea ecx, [esp + 0x7c]
call fcn.00545400
test al, al
je 0x58ff85
mov edx, dword [esp + 0x28]
push edi
push edx
lea ecx, [esp + 0x28]
call fcn.005554a0
mov eax, dword [esp + 0x18]
add edi, 8
cmp edi, eax
jne 0x58ff5d
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x58ffac
mov eax, dword [esp + 0x28]
mov edx, eax
sub edx, ecx
test edx, 0xfffffff8
jne 0x590148
lea ecx, [esp + 0x20]
call fcn.00592bf0
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00592bf0
cmp eax, edi
ja 0x58ffec
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00592ca0
mov ecx, dword [esp + 0x34]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.005b0ee0
jmp 0x59003b
lea ecx, [esp + 0x10]
call fcn.00592bf0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00592c10
cmp edi, eax
ja 0x590054
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
call fcn.00592bf0
mov edx, dword [esp + 0x24]
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x14]
push edx
push edi
push eax
call fcn.00592ca0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
add esp, 0xc
push ecx
push edx
push edi
lea ecx, [esp + 0x2c]
call fcn.00592c30
lea ecx, [esp + 0x10]
call fcn.00592bf0
mov ecx, dword [esp + 0x24]
lea eax, [ecx + eax*8]
mov dword [esp + 0x28], eax
jmp 0x590148
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.005b0ee0
mov edx, dword [esp + 0x24]
push edx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00592bf0
cmp eax, ebx
jge 0x590118
jmp 0x590116
lea ecx, [esp + 0x20]
call fcn.00592bf0
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00592bf0
cmp eax, edi
ja 0x5900cd
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00592ca0
mov ecx, dword [esp + 0x34]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.005b0ee0
jmp 0x59003b
lea ecx, [esp + 0x10]
call fcn.00592bf0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00592c10
cmp edi, eax
jbe 0x590004
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.005b0ee0
mov edx, dword [esp + 0x24]
push edx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00592bf0
cmp eax, ebx
jge 0x590118
xor eax, eax
shl eax, 3
push eax
call fcn.005bcf2f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x24], eax
push eax
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00592c30
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
cmp ecx, ebx
jne 0x590152
mov dword [esp + 0x58], ebx
jmp 0x59015b
sub eax, ecx
sar eax, 3
mov dword [esp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
cmp word [esp + 0x74], ax
je 0x5902e9
movsx edx, word [esp + 0x58]
movsx ebp, ax
movsx edi, cx
add edi, ebp
cmp edi, edx
jle 0x590197
mov ecx, dword [esp + 0x58]
sub ecx, eax
mov dword [esp + 0x54], ecx
movsx ecx, cx
add ecx, ebp
cmp ebp, ecx
jge 0x59025a
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x104]
push edx
mov ecx, dword [eax + ebp*8]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00597190
movsx edx, word [esp + 0x5c]
mov eax, ebp
sub eax, edx
mov edx, dword [esp + 0x110]
lea eax, [eax + eax*2]
shl eax, 4
lea ecx, [eax + esi + 0x114]
push ecx
mov ecx, dword [esi + 0x374]
push edx
call fcn.00597db0
movsx ecx, word [esp + 0x5c]
mov eax, ebp
sub eax, ecx
mov ecx, dword [esp + 0x120]
lea edx, [eax + eax*2]
shl edx, 4
lea eax, [edx + esi + 0x124]
push eax
push ecx
mov ecx, dword [esi + 0x374]
call fcn.00597db0
movsx edx, word [esp + 0x5c]
mov eax, ebp
mov edi, 0x609450
sub eax, edx
or ecx, 0xffffffff
lea eax, [eax + eax*2]
shl eax, 4
lea edx, [eax + esi + 0x134]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x609450
mov ecx, edx
call fcn.004017b0
mov eax, dword [esp + 0x5c]
inc ebp
movsx ecx, word [esp + 0x54]
movsx edx, ax
add ecx, edx
cmp ebp, ecx
jl 0x5901a4
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebx
movsx eax, word [esp + 0x58]
push eax
push ebx
sub esp, 0x10
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
call fcn.0056e610
mov ecx, dword [esp + 0x11c]
mov edx, dword [esi + 0x374]
mov eax, dword [esi + 0x378]
push ecx
push edx
push eax
lea ecx, [esp + 0xbc]
call fcn.00594a40
movsx ecx, word [esp + 0x54]
movsx edx, word [esp + 0x5c]
push ecx
push edx
sub esp, 0x10
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
call fcn.0056e610
mov ecx, dword [esi + 0x374]
mov edx, dword [esi + 0x378]
push ecx
push edx
lea ecx, [esp + 0xb8]
call fcn.00594c30
cmp eax, ebx
je 0x5904d2
mov eax, dword [esp + 0x5c]
cmp dword [esi + 0x40], 5
jne 0x5905b7
mov ecx, dword [esp + 0x58]
lea edx, [esi + 0x84]
push ecx
push eax
lea eax, [esi + 0x74]
push edx
lea ecx, [esi + 0x64]
push eax
lea edx, [esi + 0x54]
push ecx
mov cx, word [esi + 0x40]
lea eax, [esi + 0x44]
push edx
push eax
push ecx
mov ecx, dword [0x619a68]
call fcn.00547ea0
lea edi, [esi + 0x98]
mov ebp, 4
mov edx, dword [edi - 4]
mov ecx, dword [0x619a68]
neg edx
sbb dl, dl
and edx, 4
push edx
push edi
call fcn.00547fc0
add edi, 0x14
dec ebp
jne 0x59032b
xor ebp, ebp
cmp word [esp + 0x54], bx
jle 0x590378
lea edi, [esi + 0x134]
lea eax, [edi - 0x10]
lea ecx, [edi - 0x20]
push eax
push edi
push ecx
mov ecx, dword [0x619a68]
call fcn.00548020
movsx edx, word [esp + 0x54]
inc ebp
add edi, 0x30
cmp ebp, edx
jl 0x590357
lea eax, [esp + 0x54]
push 1
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, dword [0x619a68]
call fcn.00548150
cmp ax, 0xffff
jne 0x590437
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
sub edx, edi
cmp edx, 0xfa
jae 0x590437
mov ecx, dword [esp + 0x54]
cmp cx, bx
jle 0x59016d
mov edi, 0x609450
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x4c]
push 0x609450
call fcn.004017b0
movsx eax, word [esp + 0x5c]
mov edi, dword [esp + 0x70]
push 1
add eax, edi
lea ecx, [esp + 0x48]
push eax
push 1
push ecx
lea ecx, [esp + 0xa8]
call fcn.00593040
mov edx, dword [0x5e5150]
mov eax, dword [esp + 0x48]
lea ecx, [edi + edi*2]
push edx
shl ecx, 4
push ebx
push eax
lea ecx, [ecx + esi + 0x134]
call fcn.004120f0
movsx edx, word [esp + 0x54]
inc edi
cmp edi, edx
mov dword [esp + 0x70], edi
jne 0x59042c
mov dword [esp + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x590165
mov ecx, dword [esi + 0x300]
lea ebp, [esi + 0x300]
cmp ecx, ebx
jne 0x590485
cmp ax, 0x10
jl 0x590485
cmp ax, 0x13
jg 0x590485
mov ecx, dword [esi + 0x3c]
sub eax, 0x10
movsx edi, ax
lea eax, [esi + 0x3c]
mov dword [esi + 0x350], edi
mov dword [esi + edi*4 + 0x364], ecx
mov edx, dword [esi + edi*4 + 0x354]
push ebp
push eax
push edx
mov ecx, esi
call fcn.0058b860
push edi
mov ecx, esi
call fcn.00590b10
mov eax, dword [esp + 0x154]
mov ecx, esi
push eax
call fcn.0058b920
test eax, eax
je 0x5906a3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
cmp dword [ebp], ebx
je 0x590169
cmp dword [esi + 0x328], ebx
jne 0x590169
mov ecx, dword [esp + 0x60]
add ecx, 0xfa
mov dword [esp + 0x6c], ecx
jmp 0x590169
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x154], 5
call fcn.0055f4e0
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x14c], 4
call fcn.00592eb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 3
call fcn.005581a0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 2
call fcn.005b0ee0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005bc500
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push edx
push eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x154], 1
call fcn.005b0ee0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005bc500
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push edx
push eax
mov dword [esp + 0x24], ebx
mov byte [esp + 0x154], bl
call fcn.005b0ee0
mov ecx, dword [esp + 0x38]
push ecx
jmp 0x58f8f2
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x154], 5
call fcn.0055f4e0
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x14c], 4
call fcn.00592eb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 3
call fcn.005581a0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 2
call fcn.005b0ee0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005bc500
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push edx
push eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x154], 1
call fcn.005b0ee0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x14c], bl
call fcn.00596390
lea ecx, [esp + 0x64]
mov dword [esp + 0x14c], 0xffffffff
call fcn.00597110
xor eax, eax
jmp 0x590724
lea ecx, [esp + 0x44]
mov byte [esp + 0x14c], 5
call fcn.00404ff0
lea ecx, [esp + 0x98]
mov byte [esp + 0x14c], 4
call fcn.00592eb0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 3
call fcn.005581a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 2
call fcn.00596390
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 1
call fcn.00596390
lea ecx, [esp + 0x34]
mov byte [esp + 0x14c], bl
call fcn.00596390
lea ecx, [esp + 0x64]
mov dword [esp + 0x14c], 0xffffffff
call fcn.00597110
mov eax, 1
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x140
ret 4