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

Disassembly:
push 0xffffffffffffffff
push 0x56ed7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], esi
call fcn.00534d70
xor ebp, ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0xcc], ebp
call fcn.00532e70
mov al, byte [esp + 0x27]
mov dword [esp + 0x38], ebp
mov byte [esp + 0x34], al
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov cl, byte [esp + 0x27]
mov dword [esp + 0x90], ebp
mov byte [esp + 0x8c], cl
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
push 6
push 0x59d3e4
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 3
call fcn.005318a0
push 6
push 0x5bcdb4
lea ecx, [esp + 0x60]
mov byte [esp + 0xd4], 4
call fcn.005318a0
push 6
push 0x59d3e4
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 5
call fcn.005318a0
mov eax, dword [esp + 0xd4]
mov byte [esp + 0xcc], 6
and eax, 0xff
dec eax
jne case.default.0x51cd8f
mov ebx, dword [esp + 0xd8]
lea ecx, [esp + 0x58]
mov dl, bl
add dl, 3
push edx
push 5
call fcn.00531ad0
mov eax, ebx
and eax, 0xff
cmp eax, 8
ja case.default.0x51cd8f
jmp dword [eax*4 + 0x51dfb8]
push 0x74
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
movzx di, byte [0x5bca3b]
push 0x31
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x37
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00531810
push ebx
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x38
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00531810
push ebx
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x39
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00531810
push ebx
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x3a
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x24]
push eax
call fcn.00531810
push ebx
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x3b
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00531810
push ebx
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x3c
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00531810
push ebx
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 6
lea ecx, [esp + 0x2c]
call fcn.005359b0
push 1
push edi
lea ecx, [esp + 0x30]
call fcn.00535aa0
lea ecx, [esp + 0x1a]
push 1
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [0x5c663c]
push edx
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x1c], eax
je case.default.0x51cd8f
mov al, byte [esp + 0x1a]
mov byte [esi + 0xc], al
mov byte [0x5bca3b], al
jmp case.default.0x51cd8f
push 0x35
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
movzx di, byte [esi + 0x72]
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x31
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push 0x3d
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00531810
push ebx
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x10
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push 0x69
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00531810
push ebx
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x10
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push 0x67
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov ebx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00531810
push ebx
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 3
lea ecx, [esp + 0x2c]
call fcn.005359b0
push 1
push edi
lea ecx, [esp + 0x30]
call fcn.00535aa0
lea eax, [esp + 0x1a]
push 1
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [0x5c663c]
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x1c], eax
je case.default.0x51cd8f
mov ax, word [esp + 0x1a]
cmp ax, bp
jne 0x51d187
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 5
call fcn.00531940
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 4
call fcn.00531940
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 3
call fcn.00531940
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x51d12d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x51d124
cmp al, 0xff
je 0x51d124
dec al
mov byte [ecx], al
jmp 0x51d12d
push ecx
call fcn.00556360
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], ebp
cmp eax, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
je 0x51d15e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x51d155
cmp al, 0xff
je 0x51d155
dec al
mov byte [ecx], al
jmp 0x51d15e
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0xcc], 0xffffffff
call fcn.00531940
or ax, 0xffff
jmp 0x51df9b
mov byte [esi + 0xd], al
mov byte [esi + 0x72], al
jmp case.default.0x51cd8f
push 0x68
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
call fcn.00531810
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.00521870
mov esi, eax
mov eax, dword [esi + 8]
mov edi, dword [0x57217c]
mov ebx, eax
mov byte [esp + 0xcc], 7
cmp edi, ebx
jae 0x51d1d7
mov ebx, edi
lea ecx, [esp + 0x34]
cmp ecx, esi
jne 0x51d249
cmp dword [esp + 0x3c], ebx
jae 0x51d1ea
call fcn.00556597
lea ecx, [esp + 0x34]
call fcn.00405210
mov eax, dword [esp + 0x3c]
sub eax, ebx
cmp eax, edi
jae 0x51d1ff
mov edi, eax
cmp edi, ebp
jbe 0x51d239
mov edx, dword [esp + 0x38]
sub eax, edi
push eax
lea ecx, [ebx + edx]
lea edx, [edi + ecx]
push edx
push ecx
call fcn.00556b00
mov esi, dword [esp + 0x48]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x34]
push ebp
push esi
call fcn.00404d70
test al, al
je 0x51d239
push esi
lea ecx, [esp + 0x38]
call fcn.00404d50
push ebp
push ebp
lea ecx, [esp + 0x3c]
call fcn.00404c30
jmp 0x51d2d0
cmp ebx, ebp
jbe 0x51d296
cmp ebx, eax
jne 0x51d296
mov eax, dword [esi + 4]
cmp eax, ebp
jne 0x51d25d
mov eax, 0x572184
cmp byte [eax - 1], 0xfe
jae 0x51d296
push 1
lea ecx, [esp + 0x38]
call fcn.00404bb0
mov eax, dword [esi + 4]
cmp eax, ebp
jne 0x51d27a
mov eax, 0x572184
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x3c], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x40], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x51d2d0
push 1
push ebx
lea ecx, [esp + 0x3c]
call fcn.00404d70
test al, al
je 0x51d2d0
mov esi, dword [esi + 4]
cmp esi, ebp
jne 0x51d2b2
mov esi, 0x572184
mov edi, dword [esp + 0x38]
mov ecx, ebx
mov eax, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
call fcn.00404d50
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xcc], 6
cmp eax, ebp
je 0x51d2fd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x51d2f4
cmp al, 0xff
je 0x51d2f4
dec al
mov byte [ecx], al
jmp 0x51d2fd
push ecx
call fcn.00556360
add esp, 4
mov cl, byte [esp + 0x27]
sub esp, 0x10
xor esi, esi
mov ebp, esp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov byte [ebp], cl
mov edi, str.9999
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x70], esp
mov ebx, ecx
push 1
push ebx
mov ecx, ebp
call fcn.00404d70
test al, al
je 0x51d36e
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.9999
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
xor esi, esi
mov byte [ebx], 0
sub esp, 0x10
lea eax, [esp + 0x47]
mov ecx, esp
mov dword [esp + 0xd4], esp
push eax
push str.3000
mov byte [esp + 0xf4], 8
call fcn.00404840
sub esp, 0x10
lea edx, [esp + 0x8f]
mov ecx, esp
mov dword [esp + 0xcc], esp
push edx
push 0x59cddc
mov byte [esp + 0x104], 9
call fcn.00404840
sub esp, 0x10
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0xc8], esp
push eax
mov byte [esp + 0x110], 0xa
call fcn.00404720
sub esp, 0x10
lea edx, [esp + 0x70]
mov edi, esp
mov dword [esp + 0xb4], esp
push ecx
mov byte [esp + 0x120], 0xb
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
sub esp, 8
mov byte [esp + 0x12c], 0xc
mov edi, esp
mov dword [esp + 0x74], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x5b06b0
call fcn.005318a0
push edi
call fcn.005388b0
add esp, 8
lea eax, [esp + 0x100]
mov ecx, 0x5c6628
mov byte [esp + 0x12c], 6
push eax
call fcn.00533da0
mov cx, word [eax]
mov ebx, dword [0x57217c]
lea edi, [eax + 4]
mov word [esp + 0x44], cx
mov byte [esp + 0xcc], 0xd
mov eax, dword [edi + 8]
mov ebp, eax
cmp ebx, ebp
jae 0x51d46b
mov ebp, ebx
lea edx, [esp + 0x48]
cmp edx, edi
jne 0x51d4da
cmp dword [esp + 0x50], ebp
jae 0x51d47e
call fcn.00556597
lea ecx, [esp + 0x48]
call fcn.00405210
mov eax, dword [esp + 0x50]
sub eax, ebp
cmp eax, ebx
jae 0x51d493
mov ebx, eax
cmp ebx, esi
jbe 0x51d4cc
mov ecx, dword [esp + 0x4c]
sub eax, ebx
add ebp, ecx
push eax
lea ecx, [ebx + ebp]
push ecx
push ebp
call fcn.00556b00
mov edi, dword [esp + 0x5c]
add esp, 0xc
sub edi, ebx
lea ecx, [esp + 0x48]
push esi
push edi
call fcn.00404d70
test al, al
je 0x51d4cc
push edi
lea ecx, [esp + 0x4c]
call fcn.00404d50
lea ecx, [esp + 0x48]
call fcn.00405210
jmp 0x51d565
cmp ebp, esi
jbe 0x51d527
cmp ebp, eax
jne 0x51d527
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x51d4ee
mov eax, 0x572184
cmp byte [eax - 1], 0xfe
jae 0x51d527
push 1
lea ecx, [esp + 0x4c]
call fcn.00404bb0
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x51d50b
mov eax, 0x572184
mov dword [esp + 0x4c], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x50], ecx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x54], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x51d565
push 1
push ebp
lea ecx, [esp + 0x50]
call fcn.00404d70
test al, al
je 0x51d565
mov edi, dword [edi + 4]
cmp edi, esi
mov esi, 0x572184
je 0x51d545
mov esi, edi
mov edi, dword [esp + 0x4c]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
call fcn.00404d50
xor esi, esi
mov eax, dword [esp + 0xa8]
mov byte [esp + 0xcc], 6
cmp eax, esi
je 0x51d595
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x51d58c
cmp al, 0xff
je 0x51d58c
dec al
mov byte [ecx], al
jmp 0x51d595
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
call fcn.005330c0
cmp ax, 2
je 0x51d6a5
lea eax, [esp + 0x78]
lea ecx, [esp + 0x44]
push eax
call fcn.005330d0
mov edi, dword [eax + 4]
cmp edi, esi
jne 0x51d5d7
mov edi, 0x572184
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xb8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x7c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp eax, esi
je 0x51d622
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x51d619
cmp al, 0xff
je 0x51d619
dec al
mov byte [ecx], al
jmp 0x51d622
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0xb8]
mov dword [esp + 0x7c], esi
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
call fcn.004e6860
cmp eax, 0xbb8
jb 0x51d657
cmp eax, 0x270f
jbe 0x51d756
push esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0xdc], 0xe
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x59cdc4
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0xdc], 6
call fcn.00533b90
mov esi, dword [esp + 0x1c]
xor ebp, ebp
jmp 0x51d19f
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 5
call fcn.00531940
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 4
call fcn.00531940
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 3
call fcn.00531940
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x51d6fd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x51d6f4
cmp al, 0xff
je 0x51d6f4
dec al
mov byte [ecx], al
jmp 0x51d6fd
push ecx
call fcn.00556360
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], esi
cmp eax, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
je 0x51d72e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x51d725
cmp al, 0xff
je 0x51d725
dec al
mov byte [ecx], al
jmp 0x51d72e
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0xcc], 0xffffffff
call fcn.00531940
xor ax, ax
jmp 0x51df9b
mov edx, eax
mov byte [0x5bcb14], al
shr edx, 8
mov byte [0x5bcb13], dl
xor ebp, ebp
jmp case.default.0x51cd8f
push 0x71
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
movzx si, byte [0x5bcb25]
push 0x12
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x59
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x58
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x57
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x55
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0x24]
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x54
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 5
lea ecx, [esp + 0x2c]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x30]
call fcn.00535aa0
lea eax, [esp + 0x1a]
push 1
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [0x5c663c]
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x1c], eax
je case.default.0x51cd8f
mov dl, byte [esp + 0x1a]
mov byte [0x5bcb25], dl
jmp case.default.0x51cd8f
push 0x69
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
mov al, byte [0x5bcb37]
test al, al
je 0x51d945
test al, 1
je 0x51d945
and al, 4
neg al
sbb eax, eax
neg eax
inc eax
mov esi, eax
jmp 0x51d947
xor esi, esi
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x10
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push 0x71
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x13
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push 0x94
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x13
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push 0x93
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 3
lea ecx, [esp + 0x2c]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x30]
call fcn.00535aa0
lea eax, [esp + 0x1a]
push 1
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [0x5c663c]
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x1c], eax
je case.default.0x51cd8f
movsx eax, word [esp + 0x1a]
sub eax, ebp
je 0x51daa9
dec eax
je 0x51da9d
dec eax
jne case.default.0x51cd8f
mov byte [0x5bcb37], 5
jmp case.default.0x51cd8f
mov byte [0x5bcb37], 1
jmp case.default.0x51cd8f
mov byte [0x5bcb37], 0
jmp case.default.0x51cd8f
push 0x76
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
mov dl, byte [0x5bcb5d]
push 0x13
not dl
and edx, 0xff
push 4
shr edx, 2
and edx, 1
lea ecx, [esp + 0x18]
mov esi, edx
call fcn.00531ad0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x46
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x45
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 2
lea ecx, [esp + 0x2c]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x30]
call fcn.00535aa0
lea ecx, [esp + 0x1a]
push 1
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [0x5c663c]
push edx
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x1c], eax
je case.default.0x51cd8f
mov cl, byte [0x5bcb5d]
and cl, 0xfb
cmp word [esp + 0x1a], bp
mov byte [0x5bcb5d], cl
jne case.default.0x51cd8f
mov al, cl
or al, 4
mov byte [0x5bcb5d], al
jmp case.default.0x51cd8f
push 0x78
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
mov al, byte [0x5bcb01]
push 0x13
and al, 1
push 4
lea ecx, [esp + 0x18]
movzx si, al
call fcn.00531ad0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x15
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x14
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 2
lea ecx, [esp + 0x2c]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x30]
call fcn.00535aa0
lea eax, [esp + 0x1a]
push 1
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [0x5c663c]
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x1c], eax
je case.default.0x51cd8f
mov dl, byte [0x5bcb01]
mov al, byte [esp + 0x1a]
and dl, 0xfe
or dl, al
mov byte [0x5bcb01], dl
jmp case.default.0x51cd8f
push 0x70
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
mov al, byte [0x5bcaef]
push 0x10
and al, 1
push 4
lea ecx, [esp + 0x18]
movzx si, al
call fcn.00531ad0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x61
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x60
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 2
lea ecx, [esp + 0x2c]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x30]
call fcn.00535aa0
lea eax, [esp + 0x1a]
push 1
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [0x5c663c]
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x1c], eax
je case.default.0x51cd8f
mov dl, byte [0x5bcaef]
mov al, byte [esp + 0x1a]
and dl, 0xfe
or dl, al
mov byte [0x5bcaef], dl
jmp case.default.0x51cd8f
push 0x70
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
movzx si, byte [0x5bcadd]
push 0x10
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x61
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x60
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 2
lea ecx, [esp + 0x2c]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x30]
call fcn.00535aa0
lea ecx, [esp + 0x1a]
push 1
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [0x5c663c]
push edx
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x1c], eax
je case.default.0x51cd8f
mov al, byte [esp + 0x1a]
mov byte [0x5bcadd], al
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 5
call fcn.00531940
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 4
call fcn.00531940
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 3
call fcn.00531940
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x51df46
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x51df3d
cmp al, 0xff
je 0x51df3d
dec al
mov byte [ecx], al
jmp 0x51df46
push ecx
call fcn.00556360
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], ebp
cmp eax, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
je 0x51df77
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x51df6e
cmp al, 0xff
je 0x51df6e
dec al
mov byte [ecx], al
jmp 0x51df77
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0xcc], 0xffffffff
call fcn.00531940
mov ax, 1
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 8