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

Disassembly:
push 0xffffffffffffffff
push 0x556988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push esi
mov esi, dword [esp + 0x15c]
mov dword [esp + 4], ecx
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x160]
shr eax, 2
cmp ecx, eax
mov dword [esp + 0x18], eax
jl 0x4a16d3
xor eax, eax
jmp 0x4a309f
mov eax, dword [0x5b0fa0]
push ebx
push ebp
push edi
xor ebp, ebp
push eax
push ebp
push 2
lea ecx, [esp + 0xb0]
call fcn.0053111a
mov ecx, dword [0x5b0fa0]
mov dword [esp + 0x15c], ebp
push ecx
push ebp
push ebp
lea ecx, [esp + 0xa8]
call fcn.0053111a
mov edi, dword [esp + 0x164]
lea edx, [esp + 0x9c]
push edx
mov ecx, edi
mov byte [esp + 0x160], 1
call fcn.00530739
mov dword [esp + 0x118], eax
mov eax, dword [esi + 0xcc]
cmp eax, ebp
jne 0x4a173e
mov dword [esp + 0x30], ebp
jmp 0x4a1748
mov eax, dword [esi + 0xc4]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x68], ebp
jne 0x4a1753
mov dword [esp + 0x3c], ebp
jmp 0x4a175a
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x16c]
cmp ebx, ebp
mov dword [esp + 0x68], ebx
jle 0x4a17a1
mov edx, dword [esp + 0x3c]
lea eax, [edx + ebx*4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x30]
add edx, ecx
mov ecx, esi
push edx
call fcn.004d2100
cmp eax, 1
je 0x4a179d
mov ecx, dword [esp + 0x34]
dec ebx
sub ecx, 4
cmp ebx, ebp
mov dword [esp + 0x34], ecx
jg 0x4a1774
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [esi + 0x7c]
cmp eax, ebp
mov dword [esp + 0x2c], ecx
jne 0x4a17bc
mov dword [esp + 0xd4], ebp
jmp 0x4a17c6
mov edx, dword [esi + 0x74]
mov dword [esp + 0xd4], edx
mov ecx, dword [esi + 0x7c]
mov eax, 0x38e38e39
mul ecx
mov eax, dword [esp + 0x2c]
mov ecx, esi
shr edx, 1
push eax
mov dword [esp + 0xdc], edx
call fcn.004d1800
lea ecx, [esp + 0xdc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 0xffffffff
call fcn.00526ec4
lea ecx, [esp + 0x11c]
mov byte [esp + 0x15c], 2
call fcn.00527248
lea ecx, [esp + 0x104]
mov byte [esp + 0x15c], 3
call fcn.00477df0
mov esi, 0x55f9d0
mov dword [esp + 0x104], esi
lea ecx, [esp + 0xf0]
mov byte [esp + 0x15c], 4
call fcn.00477df0
mov dword [esp + 0xf0], esi
push 5
push ebp
lea ecx, [esp + 0xe4]
mov byte [esp + 0x164], 5
call fcn.00526f24
push 5
push ebp
lea ecx, [esp + 0x124]
call fcn.005272a8
lea ecx, [esp + 0x88]
call fcn.00477df0
lea ecx, [esp + 0x70]
mov byte [esp + 0x15c], 6
call fcn.00477df0
lea ecx, [esp + 0x130]
mov byte [esp + 0x15c], 7
call fcn.00477df0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x144]
push ecx
mov byte [esp + 0x160], 8
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x54], ebp
push eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x16c]
add ecx, 0x16
cmp eax, ebp
mov dword [esp + 0x144], ecx
mov ecx, dword [esp + 0x178]
mov esi, dword [ecx]
mov dword [esp + 0x38], esi
jne 0x4a1948
mov edx, dword [0x5b1008]
lea ecx, [esp + 0x144]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esi + edx]
mov edx, dword [esp + 0x188]
push edx
push edi
mov dword [esp + 0x154], esi
mov dword [esp + 0x15c], eax
call fcn.0049e460
add esi, dword [0x5b1008]
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x24]
cmp ebx, eax
mov ebx, dword [esp + 0x180]
jge 0x4a2285
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x168]
mov ebp, dword [eax + ecx*4]
push 0
mov ecx, esi
mov dword [esp + 0x30], ebp
lea eax, [edx + ebp]
push eax
mov dword [esp + 0x1c], eax
call fcn.004d2140
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.004d2100
cmp eax, 1
mov dword [esp + 0x28], eax
jne 0x4a1a9e
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x4a19b8
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 0xffffffff
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xe4]
call fcn.00526f24
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x124]
call fcn.005272a8
lea ecx, [esp + 0x104]
call fcn.00477ff0
lea ecx, [esp + 0xf0]
call fcn.00477ff0
mov ecx, dword [esp + 0x14]
inc ecx
call fcn.004cee40
test eax, eax
jne 0x4a1a0f
mov edx, dword [esp + 0x14]
mov ecx, esi
lea eax, [edx + 1]
push eax
call fcn.004d19b0
jmp 0x4a1a11
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x68]
cmp ecx, edx
mov dword [esp + 0x84], eax
je 0x4a1a9e
test ebp, ebp
jle 0x4a1a35
mov edx, dword [esp + 0x14]
mov cl, byte [edx - 1]
mov byte [esp + 0x60], cl
jmp 0x4a1a39
mov cl, byte [esp + 0x60]
test eax, eax
je 0x4a1a65
mov ax, word [eax + 0x14]
cmp ax, 1
je 0x4a1a6e
cmp ax, 2
je 0x4a1a6e
cmp ax, 4
je 0x4a1a6e
cmp ax, 6
je 0x4a1a6e
cmp ax, 8
je 0x4a1a6e
cmp ax, 0xa
je 0x4a1a6e
test ebp, ebp
jle 0x4a1a9e
cmp cl, 0x6d
jne 0x4a1a72
inc dword [esp + 0x18]
test ebp, ebp
jle 0x4a1a9e
cmp cl, 0x6d
jne 0x4a1a8b
cmp ebp, 1
jle 0x4a1a9e
mov eax, dword [esp + 0x14]
mov cl, byte [eax - 2]
mov byte [esp + 0x60], cl
cmp cl, 0x72
je 0x4a1a9a
cmp cl, 0x73
je 0x4a1a9a
cmp cl, 0x74
jne 0x4a1a9e
dec dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x16c]
cmp ecx, eax
jl 0x4a21e2
mov edx, dword [esp + 0x18]
mov esi, dword [0x5b1004]
mov ecx, dword [esp + 0x174]
mov ebp, dword [esp + 0x28]
lea eax, [edx + 1]
imul eax, esi
add eax, ecx
mov ecx, dword [esp + 0xe4]
cmp ebp, 1
lea edx, [ecx - 1]
mov dword [esp + 0x44], edx
jne 0x4a1c4b
mov edx, dword [esp + 0x170]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
lea ebp, [esi + edx]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x188]
push ebx
push edx
mov edx, dword [esp + 0x188]
mov esi, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push 0
push edx
mov edx, dword [esp + 0x50]
inc ecx
push 0
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x18c]
push ecx
push ebp
push edx
push eax
push edi
mov ecx, esi
call fcn.004a02a0
mov eax, dword [esp + 0x14]
test byte [eax + 7], 4
je 0x4a1b57
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x188]
push eax
call fcn.004780b0
mov eax, dword [esp + 0x14]
test byte [eax + 8], 0x80
je 0x4a1b79
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x18c]
push eax
call fcn.004780b0
mov eax, dword [esp + 0x194]
cmp eax, 0xffffffff
je 0x4a1bc5
cmp eax, dword [esp + 0x2c]
jl 0x4a1bc5
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
call fcn.004cee70
mov ecx, dword [esp + 0x2c]
lea edx, [eax + ecx + 1]
mov eax, dword [esp + 0x194]
cmp eax, edx
jge 0x4a1bc5
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x190]
sar eax, 1
sub eax, 7
mov dword [edx], eax
mov eax, dword [0x5b1058]
test eax, eax
jne 0x4a1cb3
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4a1cb3
mov eax, dword [esp + 0x14]
mov al, byte [eax - 1]
cmp al, 0x50
mov byte [esp + 0x60], al
je 0x4a1c39
cmp al, 0x6f
jne 0x4a1cb3
mov ecx, dword [esp + 0x50]
mov edx, dword [0x5b1004]
sub ecx, edx
add ecx, 3
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x50]
add edx, 0xfffffffd
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x184]
sar eax, 1
push edx
mov edx, dword [esp + 0x20]
push ebx
push eax
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.0049dfe0
jmp 0x4a1cb3
mov eax, dword [0x5b1004]
mov ecx, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
jmp 0x4a1c04
lea ebp, [ecx + 1]
imul ebp, esi
mov esi, dword [esp + 0x170]
add eax, ebp
mov ebp, dword [esp + 0x20]
add ebp, esi
lea esi, [esp + 0x50]
push esi
mov esi, dword [esp + 0x188]
push ebx
push esi
mov esi, dword [esp + 0x188]
push esi
push ecx
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x13c]
movsx ecx, word [ecx + edx*2]
push ecx
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x188]
push edx
mov edx, dword [esp + 0x5c]
push ecx
push ebp
push edx
push eax
push edi
mov ecx, esi
call fcn.004a02a0
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x5c]
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
cmp eax, 1
jne 0x4a1d6b
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x88]
push edx
call fcn.004780b0
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x70]
push eax
call fcn.004780b0
mov ecx, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x74]
call fcn.004780b0
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x70]
push edx
call fcn.004780b0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x70]
push eax
call fcn.004780b0
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0x6a
jne 0x4a1d6b
mov edx, ecx
mov cl, byte [edx + 7]
test cl, 8
lea eax, [edx + 1]
je 0x4a1d6b
mov eax, edx
lea ecx, [eax + 1]
call fcn.004cee70
mov ecx, dword [esp + 0x2c]
lea eax, [eax + ecx + 1]
lea ecx, [esp + 0x130]
push eax
mov dword [esp + 0x20], eax
call fcn.004780b0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x130]
lea eax, [edx + 1]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
add eax, edx
push eax
call fcn.004780b0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a1e11
cmp dword [0x5b106c], 1
je 0x4a1d89
cmp dword [esi + 0x74], ebp
jne 0x4a1e11
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
sub eax, ecx
mov ebp, dword [esp + 0x174]
sub eax, 9
mov dword [esp + 0xac], ebp
cdq
sub eax, edx
lea edx, [esp + 0xac]
sar eax, 1
add eax, ecx
lea ecx, [ebp + 9]
mov dword [esp + 0xb0], eax
add eax, 9
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x184]
push edx
mov dword [esp + 0xb8], ecx
push eax
push edi
mov ecx, esi
call fcn.0049e460
mov eax, dword [esp + 0x34]
cmp eax, 1
mov eax, 0x5bdf80
je 0x4a1df1
mov eax, 0x5bdf78
mov ecx, dword [0x5b0fb0]
mov edx, dword [esp + 0xb0]
push 0xff000000
push 0
push eax
push ecx
push edx
push ebp
push edi
mov ecx, esi
call fcn.004b2110
test byte [esp + 0x28], 1
je 0x4a1f20
mov eax, dword [esp + 0x14]
lea ebp, [eax + 1]
mov ecx, ebp
call fcn.004cf040
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4a1e49
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], 1
mov dl, byte [ecx + 7]
and dl, 0x28
cmp dl, 0x28
je 0x4a1e51
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x168]
push ebp
call fcn.004d19b0
test eax, eax
je 0x4a1e6f
test byte [eax + 0xe], 0x20
je 0x4a1e6f
mov eax, 1
jmp 0x4a1e71
xor eax, eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4a1e81
test eax, eax
je 0x4a1f20
mov eax, dword [esp + 0x174]
mov ebp, dword [esp + 0x54]
lea ecx, [eax + 0xa]
mov eax, dword [esp + 0x5c]
sub eax, ebp
mov dword [esp + 0xac], ecx
sub eax, 9
add ecx, 9
cdq
sub eax, edx
mov edx, dword [esp + 0x184]
sar eax, 1
mov dword [esp + 0xb4], ecx
add eax, ebp
lea ecx, [esp + 0xac]
mov dword [esp + 0xb0], eax
push ecx
add eax, 9
push edx
push edi
mov ecx, esi
mov dword [esp + 0xc4], eax
call fcn.0049e460
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4a1ee8
mov eax, 0x5bdfa0
jmp 0x4a1efa
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, 0x5bdf60
jne 0x4a1efa
mov eax, 0x5bdf50
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
push 0xff000000
push 0
push eax
mov eax, dword [0x5b0fb0]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.004b2110
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x38]
sub eax, edx
add esi, eax
mov eax, dword [esp + 0x28]
mov ebp, 1
cmp eax, ebp
jne 0x4a1f75
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
dec ecx
cmp eax, ecx
jge 0x4a1f75
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov eax, dword [edx + eax*4 + 4]
add eax, ecx
mov ecx, dword [esp + 0x168]
push eax
call fcn.004d2100
cmp eax, ebp
jne 0x4a1f75
add esi, dword [0x5b1008]
mov dword [esp + 0x38], esi
jmp 0x4a1f84
mov eax, dword [esp + 0x28]
add esi, 2
cmp eax, ebp
mov dword [esp + 0x38], esi
jne 0x4a1fc2
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x4a1fa6
mov edx, dword [esp + 0x14]
mov al, byte [edx - 1]
cmp al, 0x6d
mov byte [esp + 0x60], al
jne 0x4a1fa6
cmp ecx, ebp
jle 0x4a1fa6
mov cl, byte [edx - 2]
mov byte [esp + 0x60], cl
mov eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x5c]
cmp eax, ecx
mov dword [esp + 0x64], edx
jg 0x4a227e
jmp 0x4a20b1
cmp dword [0x5b105c], ebp
jne 0x4a20aa
mov eax, dword [0x5b1004]
mov ebp, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
sub ebp, eax
mov eax, dword [0x5b1050]
cmp eax, 1
lea eax, [esp + 0xa4]
je 0x4a1ff6
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
call fcn.00530739
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x184]
cdq
sub eax, edx
push ecx
mov esi, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
push ebx
sar esi, 1
push esi
add eax, 0xfffffffd
push ebp
push esi
push eax
push edi
call fcn.0049dd80
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0x44]
mov ecx, dword [edx + eax*4]
test ecx, ecx
jne 0x4a2044
xor eax, eax
jmp 0x4a2084
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x44]
cmp word [edx + eax*2], 0
jne 0x4a206f
mov edx, dword [esp + 0x184]
push edx
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
push esi
push ebp
push edi
call fcn.0049dfe0
jmp 0x4a209b
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + edx*4]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x184]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ebp
push esi
push ebp
push edi
call fcn.0049dd80
lea edx, [esp + 0x9c]
mov ecx, edi
push edx
call fcn.00530739
cmp dword [esp + 0x28], 1
jne 0x4a20e1
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a20e1
mov ax, word [eax + 0x14]
cmp ax, 5
je 0x4a20d8
cmp ax, 7
je 0x4a20d8
cmp ax, 9
je 0x4a20d8
cmp ax, 0xb
jne 0x4a20e1
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x28]
test dl, 2
lea eax, [ecx - 1]
je 0x4a2140
mov ecx, dword [esp + 0x120]
mov si, word [ecx + eax*2]
inc esi
test eax, eax
mov word [ecx + eax*2], si
jl 0x4a2140
mov ecx, dword [esp + 0x114]
shr ecx, 2
cmp eax, ecx
jge 0x4a2124
mov ecx, dword [esp + 0x10c]
mov esi, dword [esp + 0x54]
mov dword [ecx + eax*4], esi
mov ecx, dword [esp + 0x100]
shr ecx, 2
cmp eax, ecx
jge 0x4a2140
mov ecx, dword [esp + 0xf8]
mov esi, dword [esp + 0x5c]
mov dword [ecx + eax*4], esi
cmp edx, 1
je 0x4a2215
cmp edx, 3
jne 0x4a2159
cmp dword [esp + 0x34], 1
je 0x4a2215
mov esi, dword [esp + 0x14]
push esi
call fcn.004ce7d0
mov edx, dword [esp + 0xe8]
add esp, 4
add eax, esi
lea ebp, [edx - 1]
mov dword [esp + 0x1c], eax
test ebp, ebp
jl 0x4a2267
lea esi, [ebp*4]
mov eax, dword [esp + 0x1c]
mov cl, byte [eax]
inc eax
cmp cl, 1
mov dword [esp + 0x1c], eax
jne 0x4a2267
push 1
push ebp
lea ecx, [esp + 0xe4]
call fcn.005271bc
push 1
push ebp
lea ecx, [esp + 0x124]
call fcn.005273e4
push 4
push esi
lea ecx, [esp + 0x10c]
call fcn.00478830
push 4
push esi
lea ecx, [esp + 0xf8]
call fcn.00478830
dec ebp
sub esi, 4
test ebp, ebp
jge 0x4a2185
jmp 0x4a2267
cmp dword [esp + 0x64], 0xffffffff
jne 0x4a20aa
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x4a20e1
cmp dword [esp + 0x34], eax
jne 0x4a20b1
mov dword [esp + 0x64], 0
jmp 0x4a20b1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xe4]
inc edx
lea ecx, [esp + 0xdc]
push edx
push eax
call fcn.005270a3
mov ecx, dword [esp + 0x124]
push 0
push ecx
lea ecx, [esp + 0x124]
call fcn.005273bb
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x104]
push edx
call fcn.004780b0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0xf0]
push eax
call fcn.004780b0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4a195b
jmp 0x4a2285
mov dword [esp + 0xbc], ebp
cmp dword [0x5b1058], 1
jne 0x4a2f9a
mov eax, dword [esp + 0x98]
test eax, eax
jle 0x4a2f9a
mov eax, dword [0x5b1050]
cmp eax, 1
lea eax, [esp + 0xa4]
je 0x4a22b9
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
mov dword [esp + 0x6c], eax
call fcn.00530739
mov eax, dword [0x5b0f20]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
mov eax, ecx
mov dword [esp + 0x6c], 0
neg eax
sbb eax, eax
and eax, edx
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov eax, ecx
neg eax
sbb eax, eax
and eax, edx
mov ecx, dword [ecx + eax - 4]
mov eax, dword [esp + 0x140]
shr eax, 3
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xd8]
test eax, eax
mov dword [esp + 0x3c], ecx
jle 0x4a2f9a
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0xd4]
lea ecx, [edx + eax*8]
add eax, ecx
mov cl, byte [eax]
mov esi, dword [eax + 1]
mov ebp, dword [eax + 5]
inc eax
cmp cl, 3
mov byte [esp + 0x60], cl
mov dword [esp + 0x64], esi
mov dword [esp + 0x40], ebp
je 0x4a2373
mov edx, dword [esp + 0x168]
inc ebp
mov dword [esp + 0x40], ebp
cmp ebp, dword [edx + 0xcc]
jge 0x4a2373
mov eax, dword [esp + 0x30]
cmp byte [eax + ebp], 0x6d
jne 0x4a2373
inc ebp
mov dword [esp + 0x40], ebp
cmp ebp, dword [esp + 0x34]
jl case.default.0x4a2461
cmp esi, dword [esp + 0x3c]
jg case.default.0x4a2461
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x84]
neg eax
sbb eax, eax
and eax, ecx
xor ecx, ecx
test edx, edx
jle 0x4a23c4
cmp esi, dword [eax]
jl 0x4a23b5
cmp esi, dword [eax + 4]
jl case.default.0x4a2461
mov edx, dword [esp + 0x84]
add eax, 8
inc ecx
cmp ecx, edx
jl 0x4a23a8
mov ecx, dword [esp + 0x168]
push esi
call fcn.004d1800
inc eax
mov ecx, dword [esp + 0x174]
imul eax, dword [0x5b1004]
add eax, ecx
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x60]
cmp al, 0x6d
je 0x4a2420
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
test eax, eax
je 0x4a2404
test ecx, ecx
jne 0x4a240e
mov dword [esp + 0x38], 0xffffffff
jmp 0x4a242e
shr eax, 2
push esi
push eax
push ecx
call fcn.00478e00
add esp, 0xc
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4a2436
test ecx, ecx
jne 0x4a243b
or eax, 0xffffffff
jmp 0x4a2449
shr eax, 2
push ebp
push eax
push ecx
call fcn.00478e00
add esp, 0xc
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], eax
and ecx, 0xff
dec ecx
cmp ecx, 3
ja case.default.0x4a2461
jmp dword [ecx*4 + 0x4a30b8]
mov esi, dword [esp + 0x18]
mov ebp, dword [0x5b1004]
mov ecx, dword [esp + 0x38]
sub esi, ebp
add esi, 3
cmp ecx, 0xffffffff
je 0x4a24e6
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, ebp
shl ecx, 4
add ecx, eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
mov ecx, dword [esp + 0x168]
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov ebp, eax
push edx
sar ebp, 1
call fcn.004d1840
cmp eax, 1
jne 0x4a24be
add ebp, 5
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebp
add eax, 0xfffffffd
push esi
push ebp
push eax
push edi
mov dword [esp + 0x68], ebp
call fcn.0049dd80
mov eax, dword [esp + 0x28]
jmp 0x4a24ec
xor ebp, ebp
mov dword [esp + 0x4c], ebp
cmp eax, 0xffffffff
je 0x4a2594
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [0x5b1004]
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, edx
mov dword [esp + 0x14], eax
cmp dword [eax], ecx
jne 0x4a253e
mov edx, dword [esp + 0x184]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
push edx
push ebx
push eax
push esi
push ebp
push esi
push edi
call fcn.0049dfe0
jmp case.default.0x4a2461
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
mov ecx, dword [esp + 0x4c]
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x184]
sar ebp, 1
sub ebp, 3
push eax
push ebx
push ebp
push esi
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edi
call fcn.0049dd80
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x184]
push ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
push ebx
sub eax, 3
push ebp
push eax
push ebp
push esi
push edi
call fcn.0049dfe0
jmp case.default.0x4a2461
mov edx, dword [esp + 0x184]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
push edx
push ebx
push eax
push esi
push ebp
push esi
push edi
call fcn.0049dd80
jmp case.default.0x4a2461
mov ebp, dword [esp + 0x18]
mov edx, dword [0x5b1004]
mov esi, dword [esp + 0x38]
sub ebp, edx
add ebp, 3
cmp esi, 0xffffffff
je 0x4a2633
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x168]
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
push eax
call fcn.004d1840
cmp eax, 1
jne 0x4a260d
add dword [esp + 0x24], 5
mov ecx, dword [esp + 0x184]
mov esi, dword [esi]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
sub esi, 3
push ebx
push eax
push esi
push eax
push ebp
push edi
mov dword [esp + 0x68], eax
call fcn.0049dfe0
jmp 0x4a263b
mov dword [esp + 0x4c], 0
cmp dword [esp + 0x28], 0xffffffff
je 0x4a26cc
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
neg eax
sbb eax, eax
and eax, esi
shl ecx, 4
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
mov ecx, dword [esp + 0x168]
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
mov esi, eax
push edx
sar esi, 1
call fcn.004d1840
cmp eax, 1
jne 0x4a268c
sub esi, 5
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x4c]
push eax
push ebx
push esi
push ebp
push ecx
mov ecx, dword [esp + 0x24]
push ebp
push edi
call fcn.0049dd80
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x184]
push ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
push ebx
sub eax, 3
push esi
push eax
push esi
push ebp
push edi
call fcn.0049dd80
jmp case.default.0x4a2461
mov edx, dword [esp + 0x184]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
push edx
push ebx
push eax
mov eax, dword [esp + 0x58]
push ebp
push eax
push ebp
push edi
call fcn.0049dd80
jmp case.default.0x4a2461
mov ecx, dword [esp + 0x30]
lea esi, [esi + ecx + 1]
mov ecx, esi
call fcn.004cee70
mov ecx, dword [esp + 0x168]
add esi, eax
push esi
call fcn.004d1d40
mov ecx, dword [esp + 0x98]
mov esi, eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x90]
mov ebp, esi
sub ebp, eax
mov eax, ecx
neg eax
sbb eax, eax
push ebp
shr ecx, 2
and eax, edx
push ecx
push eax
mov dword [esp + 0x28], ebp
call fcn.004a1660
mov ecx, dword [esp + 0x174]
add esp, 0xc
mov dword [esp + 0x40], eax
push esi
call fcn.004d19d0
lea esi, [eax + esi + 1]
cmp byte [esi], 0x6d
jne 0x4a275a
inc esi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x98]
sub esi, edx
test eax, eax
mov dword [esp + 0x44], esi
je 0x4a277a
mov ecx, dword [esp + 0x90]
test ecx, ecx
jne 0x4a2784
mov dword [esp + 0x24], 0xffffffff
jmp 0x4a2796
shr eax, 2
push esi
push eax
push ecx
call fcn.00478e00
add esp, 0xc
mov dword [esp + 0x24], eax
cmp esi, dword [esp + 0x34]
jl 0x4a28d0
mov esi, dword [esp + 0x18]
mov edx, dword [0x5b1004]
mov eax, dword [esp + 0x38]
sub esi, edx
add esi, 3
cmp eax, 0xffffffff
je 0x4a281e
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
neg eax
sbb eax, eax
and eax, ebp
shl ecx, 4
add ecx, eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
mov ecx, dword [esp + 0x168]
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov ebp, eax
push edx
sar ebp, 1
call fcn.004d1840
cmp eax, 1
jne 0x4a27fa
add ebp, 5
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebp
add eax, 0xfffffffd
push esi
push ebp
push eax
push edi
mov dword [esp + 0x68], ebp
call fcn.0049dd80
jmp 0x4a2824
xor ebp, ebp
mov dword [esp + 0x4c], ebp
cmp dword [esp + 0x24], 0xffffffff
je 0x4a28b2
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
neg eax
sbb eax, eax
and eax, ebp
shl ecx, 4
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
mov ecx, dword [esp + 0x168]
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
mov ebp, eax
push edx
sar ebp, 1
call fcn.004d1840
cmp eax, 1
jne 0x4a2875
sub ebp, 5
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x4c]
push eax
push ebx
push ebp
push esi
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edi
call fcn.0049dd80
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x184]
push ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
push ebx
sub eax, 3
push ebp
push eax
push ebp
push esi
push edi
call fcn.0049dfe0
jmp 0x4a28cc
mov edx, dword [esp + 0x184]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
push edx
push ebx
push eax
push esi
push ebp
push esi
push edi
call fcn.0049dd80
mov ebp, dword [esp + 0x1c]
cmp ebp, dword [esp + 0x3c]
jg case.default.0x4a2461
lea eax, [esp + 0xa4]
mov ecx, edi
push eax
call fcn.00530739
mov ecx, dword [0x5b1004]
mov esi, dword [esp + 0x18]
lea eax, [ecx + 4]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x4a295e
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x40]
shl ecx, 4
add ecx, eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
cmp byte [edx + ebp], 0x71
jne 0x4a293a
add eax, 5
mov edx, dword [esp + 0x184]
mov ecx, dword [ecx]
mov ebp, eax
push edx
push ebx
push ebp
sub ecx, 3
push esi
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edi
mov dword [esp + 0x68], ebp
call fcn.0049dd80
jmp 0x4a2964
xor ebp, ebp
mov dword [esp + 0x4c], ebp
mov ecx, dword [esp + 0x28]
cmp ecx, 0xffffffff
je 0x4a2a28
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [0x5b1004]
shl ecx, 4
add ecx, eax
mov eax, dword [esp + 0x18]
sub eax, edx
mov dword [esp + 0x14], ecx
cmp dword [ecx], eax
jne 0x4a29c6
mov eax, dword [esp + 0x184]
mov ecx, dword [ecx + 4]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push ebp
push esi
push edi
call fcn.0049dfe0
mov eax, dword [esp + 0x68]
mov ecx, edi
push eax
call fcn.00530739
jmp case.default.0x4a2461
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
mov ecx, dword [esp + 0x184]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
mov ebp, eax
push ecx
sar ebp, 1
mov ecx, dword [esp + 0x14]
sub ebp, 3
push ebx
push ebp
push esi
push edx
push esi
push edi
call fcn.0049dd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x184]
push ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ebx
sub eax, 3
push ebp
push eax
push ebp
push esi
push edi
call fcn.0049dfe0
mov eax, dword [esp + 0x68]
mov ecx, edi
push eax
call fcn.00530739
jmp case.default.0x4a2461
mov edx, dword [esp + 0x184]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
push edx
push ebx
push eax
push esi
push ebp
push esi
push edi
call fcn.0049dd80
mov eax, dword [esp + 0x68]
mov ecx, edi
push eax
call fcn.00530739
jmp case.default.0x4a2461
lea ecx, [esp + 0xc0]
call fcn.00477df0
mov dword [esp + 0xc0], 0x55f9d0
mov ebp, dword [esp + 0x30]
inc esi
mov byte [esp + 0x15c], 9
mov dword [esp + 0x2c], 0
cmp byte [esi + ebp], 0x6e
jne 0x4a2b49
push esi
lea ecx, [esp + 0xc4]
call fcn.004780b0
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4a2aac
mov ecx, dword [esp + 0x90]
test ecx, ecx
jne 0x4a2ab1
or eax, 0xffffffff
jmp 0x4a2abf
shr eax, 2
push esi
push eax
push ecx
call fcn.00478e00
add esp, 0xc
push eax
lea ecx, [esp + 0xc4]
call fcn.004780b0
inc esi
lea ecx, [esi + ebp]
call fcn.004cee70
mov ecx, dword [esp + 0x168]
add esi, eax
add esi, ebp
push esi
call fcn.004d1d40
mov esi, eax
lea ecx, [esp + 0xc0]
sub esi, ebp
push esi
call fcn.004780b0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
mov eax, ecx
push esi
neg eax
sbb eax, eax
shr ecx, 2
and eax, edx
push ecx
push eax
call fcn.004a1660
add esp, 0xc
lea ecx, [esp + 0xc0]
push eax
call fcn.004780b0
inc esi
lea ecx, [esi + ebp]
call fcn.004cee70
mov ecx, dword [esp + 0x2c]
lea esi, [esi + eax + 1]
inc ecx
mov al, byte [esi + ebp]
mov dword [esp + 0x2c], ecx
cmp al, 0x6e
je 0x4a2a89
mov al, byte [esi + ebp + 1]
inc esi
cmp al, 0x6d
jne 0x4a2b53
inc esi
push esi
lea ecx, [esp + 0xc4]
call fcn.004780b0
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4a2b76
mov ecx, dword [esp + 0x90]
test ecx, ecx
jne 0x4a2b7b
or eax, 0xffffffff
jmp 0x4a2b89
shr eax, 2
push esi
push eax
push ecx
call fcn.00478e00
add esp, 0xc
push eax
lea ecx, [esp + 0xc4]
call fcn.004780b0
mov esi, dword [esp + 0x18]
mov eax, dword [0x5b1004]
mov ecx, dword [esp + 0x2c]
sub esi, eax
add esi, 3
xor eax, eax
test ecx, ecx
mov dword [esp + 0x44], eax
jle 0x4a2d41
mov ecx, dword [esp + 0xc8]
shl eax, 2
mov edx, dword [ecx + eax*4]
mov ebp, dword [ecx + eax*4 + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [ecx + eax*4 + 0x14]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
cmp ebp, eax
jl 0x4a2d28
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x3c]
cmp eax, ebp
jg 0x4a2d28
cmp edx, 0xffffffff
je 0x4a2c66
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, ebp
shl edx, 4
add edx, eax
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
add eax, ecx
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x44]
sar ebp, 1
test eax, eax
jne 0x4a2c3f
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x16c]
call fcn.004d1840
cmp eax, 1
jne 0x4a2c42
add ebp, 5
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebp
lea eax, [edx - 3]
push esi
push ebp
push eax
push edi
mov dword [esp + 0x68], ebp
call fcn.0049dd80
jmp 0x4a2c6c
xor ebp, ebp
mov dword [esp + 0x4c], ebp
cmp dword [esp + 0x1c], 0xffffffff
je 0x4a2d07
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
neg eax
sbb eax, eax
and eax, ebp
shl ecx, 4
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x44]
sar ebp, 1
dec edx
cmp eax, edx
jne 0x4a2cc7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x168]
push eax
call fcn.004d1840
cmp eax, 1
jne 0x4a2cca
sub ebp, 5
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push esi
push edx
push esi
push edi
call fcn.0049dd80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x184]
push ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ebx
sub eax, 3
push ebp
push eax
push ebp
push esi
push edi
call fcn.0049dfe0
jmp 0x4a2d21
mov edx, dword [esp + 0x184]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
push edx
push ebx
push eax
push esi
push ebp
push esi
push edi
call fcn.0049dd80
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
inc eax
cmp eax, edx
mov dword [esp + 0x44], eax
jl 0x4a2bbd
lea eax, [esp + 0xa4]
mov ecx, edi
push eax
call fcn.00530739
mov eax, dword [esp + 0xc8]
mov edx, dword [0x5b1004]
mov esi, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xc]
lea eax, [edx + 4]
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x20]
cmp eax, edx
jg 0x4a2eb1
cmp ecx, 0xffffffff
je 0x4a2ddd
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, edx
shl ecx, 4
add ecx, eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
cmp byte [edx + ebp], 0x71
jne 0x4a2dba
add eax, 5
push dword [esp + 0x184]
mov ecx, dword [ecx]
mov edx, eax
sub ecx, 3
push ebx
push edx
push esi
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edi
mov dword [esp + 0x68], edx
call fcn.0049dd80
jmp 0x4a2de5
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0xffffffff
je 0x4a2e93
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [0x5b1004]
shl ecx, 4
add ecx, eax
mov eax, dword [esp + 0x18]
sub eax, edx
mov dword [esp + 0x14], ecx
cmp dword [ecx], eax
jne 0x4a2e3c
mov eax, dword [esp + 0x184]
mov ecx, dword [ecx + 4]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x58]
push esi
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edi
call fcn.0049dfe0
jmp 0x4a2eb1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
mov ecx, dword [esp + 0x10]
cdq
sub eax, edx
mov edx, dword [esp + 0x184]
mov ebp, eax
mov eax, dword [esp + 0x4c]
sar ebp, 1
sub ebp, 3
push edx
push ebx
push ebp
push esi
push eax
push esi
push edi
call fcn.0049dd80
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x184]
push edx
push ebx
mov eax, dword [ecx]
mov ecx, dword [esp + 0x18]
sub eax, 3
push ebp
push eax
push ebp
push esi
push edi
call fcn.0049dfe0
mov ebp, dword [esp + 0x30]
jmp 0x4a2eb1
mov ecx, dword [esp + 0x184]
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push eax
push esi
push edx
push esi
push edi
call fcn.0049dd80
mov eax, dword [esp + 0x2c]
cmp eax, 1
jle 0x4a2f57
mov ecx, 0x1c
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc8]
mov eax, dword [edx + ecx - 4]
mov ecx, dword [edx + ecx]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
cmp eax, edx
jl 0x4a2f3d
cmp eax, dword [esp + 0x3c]
jg 0x4a2f3d
cmp ecx, 0xffffffff
je 0x4a2f3d
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, edx
shl ecx, 4
add ecx, eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
cmp byte [edx + ebp], 0x71
jne 0x4a2f21
add eax, 5
mov edx, dword [esp + 0x184]
mov ecx, dword [ecx]
push edx
push ebx
push eax
sub ecx, 3
push esi
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edi
call fcn.0049dd80
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add ecx, 0x10
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
jne 0x4a2ecc
mov eax, dword [esp + 0x68]
mov ecx, edi
push eax
call fcn.00530739
lea ecx, [esp + 0xc0]
mov byte [esp + 0x15c], 8
mov dword [esp + 0xc0], 0x55f890
call fcn.00477ff0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xd8]
inc eax
cmp eax, ecx
mov dword [esp + 0x6c], eax
jl 0x4a2326
mov ecx, dword [esp + 0x118]
push ecx
mov ecx, edi
call fcn.00530739
mov esi, 0x55f890
lea ecx, [esp + 0x130]
mov byte [esp + 0x15c], 7
mov dword [esp + 0x130], esi
call fcn.00477ff0
lea ecx, [esp + 0x70]
mov byte [esp + 0x15c], 6
mov dword [esp + 0x70], esi
call fcn.00477ff0
lea ecx, [esp + 0x88]
mov byte [esp + 0x15c], 5
mov dword [esp + 0x88], esi
call fcn.00477ff0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x15c], 4
mov dword [esp + 0xf0], esi
call fcn.00477ff0
lea ecx, [esp + 0x104]
mov byte [esp + 0x15c], 3
mov dword [esp + 0x104], esi
call fcn.00477ff0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x15c], 2
call fcn.0052727b
lea ecx, [esp + 0xdc]
mov byte [esp + 0x15c], 1
call fcn.00526ef7
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x9c], esi
lea ecx, [esp + 0x9c]
mov byte [esp + 0x15c], 0xa
call fcn.00531104
mov dword [esp + 0xa4], esi
lea ecx, [esp + 0xa4]
mov dword [esp + 0x15c], 0xb
call fcn.00531104
mov eax, dword [esp + 0xbc]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
pop esi
mov dword fs:[0], ecx
add esp, 0x150
ret 0x34