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

Disassembly:
push 0xffffffffffffffff
push 0x56c69d
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 + 0x2c]
mov dword [esp + 0x28], esi
call fcn.00534d70
xor ebp, ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0xcc], ebp
call fcn.00532e70
mov al, byte [esp + 0x27]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x38], al
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], 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 0x5adb00
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 3
call fcn.005318a0
push 6
push 0x5b06f0
lea ecx, [esp + 0x64]
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.0x4ec5db
mov ebx, dword [esp + 0xd8]
lea ecx, [esp + 0x5c]
mov dl, bl
add dl, 3
push edx
push 5
call fcn.00531ad0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x5b06e8
call fcn.005318a0
lea ecx, [esp + 0x24]
call fcn.005319b0
mov eax, ebx
and eax, 0xff
cmp eax, 6
ja case.default.0x4ec5db
jmp dword [eax*4 + 0x4ed6a4]
push 0x74
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
movzx si, byte [0x5b0227]
push 0x31
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], 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 edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00531810
push edi
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 edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00531810
push edi
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 edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00531810
push edi
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 edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], 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 0x3b
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00531810
push edi
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 edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 6
lea ecx, [esp + 0x30]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x34]
call fcn.00535aa0
lea ecx, [esp + 0x1e]
push 1
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [0x5c663c]
push edx
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x28], eax
je case.default.0x4ec5db
mov ax, word [esp + 0x1e]
mov byte [0x5b0259], 0
mov byte [0x5b0227], al
movsx eax, ax
mov ecx, eax
dec ecx
jne 0x4ec7df
mov byte [0x5b0259], 0xc8
mov ecx, eax
mov byte [0x5b02d6], 0
neg ecx
sbb cl, cl
and ecx, 2
mov byte [0x5b02bd], cl
mov ecx, eax
sub ecx, 2
jne 0x4ec803
mov byte [0x5b02d6], 3
mov ecx, eax
mov byte [0x5b02ef], 0x76
dec ecx
jne 0x4ec816
mov byte [0x5b02ef], 0x78
dec eax
je 0x4ec856
mov edx, dword [0x5b06d4]
mov eax, dword [0x5b06d8]
mov ecx, dword [0x5b06dc]
mov dword [0x5b0397], edx
mov edx, dword [0x5b06e0]
mov dword [0x5b039b], eax
mov al, byte [0x5b06e4]
mov dword [0x5b039f], ecx
mov dword [0x5b03a3], edx
mov byte [0x5b03a7], al
jmp case.default.0x4ec5db
mov ecx, dword [0x5b06c0]
mov edx, dword [0x5b06c4]
mov eax, dword [0x5b06c8]
mov dword [0x5b0397], ecx
mov ecx, dword [0x5b06cc]
mov dword [0x5b039b], edx
mov dl, byte [0x5b06d0]
mov dword [0x5b039f], eax
mov dword [0x5b03a3], ecx
mov byte [0x5b03a7], dl
jmp case.default.0x4ec5db
push 0x35
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
push 0x31
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x3d
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x3e
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x3f
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x40
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea eax, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00531810
push edi
call fcn.005388b0
mov ecx, dword [0x5c663c]
add esp, 8
call fcn.00535350
push 0x41
push 5
lea ecx, [esp + 0x18]
call fcn.00531ad0
sub esp, 0x10
lea edx, [esp + 0x20]
mov edi, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], 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 + 0x30]
call fcn.005359b0
push 1
push ebp
lea ecx, [esp + 0x34]
call fcn.00535aa0
lea eax, [esp + 0x1e]
push 1
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [0x5c663c]
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x28], eax
je case.default.0x4ec5db
mov ax, word [esp + 0x1e]
cmp ax, bp
jne 0x4ecaef
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 5
call fcn.00531940
lea ecx, [esp + 0x5c]
mov byte [esp + 0xcc], 4
call fcn.00531940
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 3
call fcn.00531940
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x4eca95
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4eca8c
cmp al, 0xff
je 0x4eca8c
dec al
mov byte [ecx], al
jmp 0x4eca95
push ecx
call fcn.00556360
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], ebp
cmp eax, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
je 0x4ecac6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ecabd
cmp al, 0xff
je 0x4ecabd
dec al
mov byte [ecx], al
jmp 0x4ecac6
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0xcc], 0xffffffff
call fcn.00531940
or ax, 0xffff
jmp 0x4ed686
mov byte [esi + 0x70], al
movsx eax, ax
lea ecx, [eax - 1]
cmp ecx, 3
ja case.default.0x4ecafd
jmp dword [ecx*4 + 0x4ed6c0]
mov byte [0x5b0240], 1
mov byte [0x5b0241], 0x2c
jmp case.default.0x4ecafd
mov byte [0x5b0240], 0
mov byte [0x5b0241], 0xc8
mov ecx, eax
mov byte [0x5b02a4], 0x14
dec ecx
jne 0x4ecb35
mov byte [0x5b02a4], 0x1e
sub eax, 2
je 0x4ecb46
mov byte [0x5b0308], 0
jmp case.default.0x4ec5db
mov byte [0x5b0308], 1
jmp case.default.0x4ec5db
push 0x68
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
push ecx
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00531810
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.004f1180
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x57217c]
mov ebx, eax
mov byte [esp + 0xcc], 7
cmp ecx, ebx
jae 0x4ecb97
mov ebx, ecx
lea edx, [esp + 0x38]
cmp edx, esi
jne 0x4ecbba
push ecx
push ebx
lea ecx, [esp + 0x40]
call fcn.00404c30
push ebp
push ebp
lea ecx, [esp + 0x40]
call fcn.00404c30
jmp 0x4ecc43
cmp ebx, ebp
jbe 0x4ecc07
cmp ebx, eax
jne 0x4ecc07
mov eax, dword [esi + 4]
cmp eax, ebp
jne 0x4ecbce
mov eax, 0x572184
cmp byte [eax - 1], 0xfe
jae 0x4ecc07
push 1
lea ecx, [esp + 0x3c]
call fcn.00404bb0
mov eax, dword [esi + 4]
cmp eax, ebp
jne 0x4ecbeb
mov eax, 0x572184
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x40], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x44], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4ecc43
push 1
push ebx
lea ecx, [esp + 0x40]
call fcn.00404d70
test al, al
je 0x4ecc43
mov esi, dword [esi + 4]
cmp esi, ebp
jne 0x4ecc23
mov esi, 0x572184
mov edi, dword [esp + 0x3c]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
mov byte [ebx + ecx], 0
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xcc], 6
cmp eax, ebp
je 0x4ecc70
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ecc67
cmp al, 0xff
je 0x4ecc67
dec al
mov byte [ecx], al
jmp 0x4ecc70
push ecx
call fcn.00556360
add esp, 4
mov dl, 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 edi, str.9999
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp], dl
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 + 0x28], esp
mov ebx, ecx
push 1
push ebx
mov ecx, ebp
call fcn.00404d70
test al, al
je 0x4ecce1
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
mov esi, str.9999
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
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 edx, [esp + 0x47]
mov ecx, esp
mov dword [esp + 0xd4], esp
push edx
push str.3000
mov byte [esp + 0xf4], 8
call fcn.00404840
sub esp, 0x10
lea eax, [esp + 0x93]
mov ecx, esp
mov dword [esp + 0xcc], esp
push eax
push 0x59cddc
mov byte [esp + 0x104], 9
call fcn.00404840
sub esp, 0x10
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0xc8], esp
push edx
mov byte [esp + 0x110], 0xa
call fcn.00404720
sub esp, 0x10
lea eax, [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 eax
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 ecx, [esp + 0x100]
mov byte [esp + 0x12c], 6
push ecx
mov ecx, 0x5c6628
call fcn.00533da0
mov dx, word [eax]
mov ebx, dword [0x57217c]
lea edi, [eax + 4]
mov word [esp + 0x48], dx
mov byte [esp + 0xcc], 0xd
mov eax, dword [edi + 8]
mov ebp, eax
cmp ebx, ebp
jae 0x4ecdde
mov ebp, ebx
lea ecx, [esp + 0x4c]
cmp ecx, edi
jne 0x4ece4f
cmp dword [esp + 0x54], ebp
jae 0x4ecdf1
call fcn.00556597
lea ecx, [esp + 0x4c]
call fcn.00405210
mov eax, dword [esp + 0x54]
sub eax, ebp
cmp eax, ebx
jae 0x4ece06
mov ebx, eax
cmp ebx, esi
jbe 0x4ece3f
mov edx, dword [esp + 0x50]
sub eax, ebx
add ebp, edx
push eax
lea ecx, [ebx + ebp]
push ecx
push ebp
call fcn.00556b00
mov edi, dword [esp + 0x60]
add esp, 0xc
sub edi, ebx
lea ecx, [esp + 0x4c]
push esi
push edi
call fcn.00404d70
test al, al
je 0x4ece3f
push edi
lea ecx, [esp + 0x50]
call fcn.00404d50
push esi
push esi
lea ecx, [esp + 0x54]
call fcn.00404c30
jmp 0x4ecedc
cmp ebp, esi
jbe 0x4ece9c
cmp ebp, eax
jne 0x4ece9c
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4ece63
mov eax, 0x572184
cmp byte [eax - 1], 0xfe
jae 0x4ece9c
push 1
lea ecx, [esp + 0x50]
call fcn.00404bb0
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4ece80
mov eax, 0x572184
mov dword [esp + 0x50], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x54], ecx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x58], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4ecedc
push 1
push ebp
lea ecx, [esp + 0x54]
call fcn.00404d70
test al, al
je 0x4ecedc
mov edi, dword [edi + 4]
cmp edi, esi
mov esi, 0x572184
je 0x4eceba
mov esi, edi
mov edi, dword [esp + 0x50]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ebp
xor esi, esi
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0xa8]
mov byte [esp + 0xcc], 6
cmp eax, esi
je 0x4ecf0c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ecf03
cmp al, 0xff
je 0x4ecf03
dec al
mov byte [ecx], al
jmp 0x4ecf0c
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
call fcn.005330c0
cmp ax, 2
je 0x4ed01c
lea edx, [esp + 0x78]
lea ecx, [esp + 0x48]
push edx
call fcn.005330d0
mov edi, dword [eax + 4]
cmp edi, esi
jne 0x4ecf4e
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 0x4ecf99
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ecf90
cmp al, 0xff
je 0x4ecf90
dec al
mov byte [ecx], al
jmp 0x4ecf99
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0xb8]
mov dword [esp + 0x7c], esi
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
call fcn.004e6860
cmp eax, 0xbb8
jb 0x4ecfce
cmp eax, 0x270f
jbe 0x4ed0cd
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 + 0x28]
xor ebp, ebp
jmp 0x4ecb5f
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 5
call fcn.00531940
lea ecx, [esp + 0x5c]
mov byte [esp + 0xcc], 4
call fcn.00531940
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 3
call fcn.00531940
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x4ed074
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ed06b
cmp al, 0xff
je 0x4ed06b
dec al
mov byte [ecx], al
jmp 0x4ed074
push ecx
call fcn.00556360
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], esi
cmp eax, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
je 0x4ed0a5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ed09c
cmp al, 0xff
je 0x4ed09c
dec al
mov byte [ecx], al
jmp 0x4ed0a5
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0xcc], 0xffffffff
call fcn.00531940
xor ax, ax
jmp 0x4ed686
mov edx, eax
mov byte [0x5b0354], al
shr edx, 8
mov byte [0x5b0353], dl
xor ebp, ebp
jmp case.default.0x4ec5db
push 0x71
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
movzx si, byte [0x5b036c]
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 + 0x30]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x34]
call fcn.00535aa0
lea eax, [esp + 0x1e]
push 1
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [0x5c663c]
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x28], eax
je case.default.0x4ec5db
mov dl, byte [esp + 0x1e]
mov byte [0x5b036c], dl
jmp case.default.0x4ec5db
push 0x69
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
mov al, byte [0x5b0385]
push ecx
lea edx, [esp + 0x24]
and al, 1
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
movzx si, al
call fcn.00531810
mov ecx, dword [0x5c663c]
call fcn.00534ea0
push 0x16
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push 0x52
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 0x31
push 4
lea ecx, [esp + 0x18]
call fcn.00531ad0
push 0x42
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 + 0x30]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x34]
call fcn.00535aa0
lea eax, [esp + 0x1e]
push 1
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [0x5c663c]
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x28], eax
je case.default.0x4ec5db
mov dl, byte [0x5b0385]
mov al, byte [esp + 0x1e]
and dl, 0xfe
or dl, al
mov byte [0x5b0385], dl
jmp case.default.0x4ec5db
push 0x76
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
mov al, byte [0x5b03d2]
push 0x13
not al
and eax, 0xff
push 4
shr eax, 2
and eax, 1
lea ecx, [esp + 0x18]
mov esi, eax
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 0x46
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 0x45
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 + 0x30]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x34]
call fcn.00535aa0
lea eax, [esp + 0x1e]
push 1
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [0x5c663c]
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x28], eax
je case.default.0x4ec5db
mov cl, byte [0x5b03d2]
and cl, 0xfb
cmp word [esp + 0x1e], bp
mov byte [0x5b03d2], cl
jne case.default.0x4ec5db
mov al, cl
or al, 4
mov byte [0x5b03d2], al
jmp case.default.0x4ec5db
push 0x70
push 5
lea ecx, [esp + 0x28]
call fcn.00531ad0
mov dl, byte [0x5b0321]
push 0x10
and dl, 1
push 4
lea ecx, [esp + 0x18]
movzx si, dl
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 + 0x30]
call fcn.005359b0
push 1
push esi
lea ecx, [esp + 0x34]
call fcn.00535aa0
lea ecx, [esp + 0x1e]
push 1
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [0x5c663c]
push edx
call fcn.00535620
and eax, 0xff
mov dword [esp + 0x28], eax
je case.default.0x4ec5db
mov al, byte [0x5b0321]
mov cl, byte [esp + 0x1e]
and al, 0xfe
or al, cl
mov byte [0x5b0321], al
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 5
call fcn.00531940
lea ecx, [esp + 0x5c]
mov byte [esp + 0xcc], 4
call fcn.00531940
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 3
call fcn.00531940
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x4ed631
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ed628
cmp al, 0xff
je 0x4ed628
dec al
mov byte [ecx], al
jmp 0x4ed631
push ecx
call fcn.00556360
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], ebp
cmp eax, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
je 0x4ed662
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ed659
cmp al, 0xff
je 0x4ed659
dec al
mov byte [ecx], al
jmp 0x4ed662
push ecx
call fcn.00556360
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], 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