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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x38
push 0
push 0
dec ecx
jne 0x5a76d0
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5a9ae7
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x5a9a7b
mov dword [ebx + 0x3b4], edi
lea eax, [ebp - 4]
mov edx, dword [edi + 0x40]
call fcn.00406f30
movzx eax, byte [edi + 0xe8]
mov byte [ebp - 0x4d], al
movzx eax, byte [edi + 0x45]
mov byte [ebp - 0x4e], al
mov dl, 1
mov eax, dword [0x459344]
call fcn.0045f8a8
mov dword [ebp - 0x84], eax
mov eax, ebx
call fcn.004dd5b8
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.004dd5b8
lea edx, [ebp - 0x20]
call fcn.005a7220
push 4
mov eax, dword [ebp - 0x20]
push eax
push 8
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0x38c], eax
push 8
mov eax, dword [ebp - 0x1c]
push eax
push 8
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0x390], eax
push 4
mov eax, dword [ebp - 0x20]
push eax
push 8
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0x394], eax
push 8
mov eax, dword [ebp - 0x1c]
push eax
push 8
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0x398], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [edi + 0x34], 0
je 0x5a77b5
mov edx, dword [edi + 0x34]
mov eax, ebx
call fcn.0047da00
jmp 0x5a77cd
lea eax, [ebp - 0x164]
call fcn.005a7610
mov edx, dword [ebp - 0x164]
mov eax, ebx
call fcn.0047da00
lea edx, [ebp - 0x168]
mov eax, ebx
call fcn.0047d9c8
cmp dword [ebp - 0x168], 0
je 0x5a781b
mov dword [ebp - 0x60], 0x3e8
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x16c]
mov eax, ebx
call fcn.0047d9c8
mov eax, dword [ebp - 0x16c]
push eax
mov eax, ebx
call fcn.004dd5b8
mov edx, eax
mov eax, ebx
pop ecx
call fcn.005a7534
add dword [ebp - 0x60], 0x32
push 4
mov eax, dword [ebp - 0x20]
push eax
push 0x32
call sub.kernel32.dll_MulDiv
mov dword [ebp - 0x24], eax
push 8
mov eax, dword [ebp - 0x1c]
push eax
push 0xe
call sub.kernel32.dll_MulDiv
sub eax, 2
mov dword [ebp - 0x28], eax
push 4
mov eax, dword [ebp - 0x20]
push eax
push 4
call sub.kernel32.dll_MulDiv
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x38c]
mov dword [ebx + 0x3f8], eax
mov eax, dword [ebx + 0x390]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x3ac]
mov edx, dword [eax]
call dword [edx + 8]
mov byte [ebp - 0x46], 0
mov byte [ebp - 0x47], 3
cmp dword [edi + 0xec], 0xffffffff
je case.0x5a78e6.0
cmp dword [edi + 0xec], 0
jne 0x5a78db
test byte [ebp - 0x4e], 1
je 0x5a78a7
mov byte [ebp - 0x46], 0
jmp 0x5a78b7
test byte [ebp - 0x4e], 2
je 0x5a78b3
mov byte [ebp - 0x46], 1
jmp 0x5a78b7
mov byte [ebp - 0x46], 4
test byte [ebp - 0x4e], 8
je 0x5a78c6
mov byte [ebp - 0x47], 3
jmp case.0x5a78e6.0
test byte [ebp - 0x4e], 4
je 0x5a78d5
mov byte [ebp - 0x47], 2
jmp case.0x5a78e6.0
mov byte [ebp - 0x47], 0
jmp case.0x5a78e6.0
mov eax, dword [edi + 0xec]
cmp eax, 8
ja case.0x5a78e6.0
jmp dword [eax*4 + 0x5a78ed]
test byte [ebp - 0x4e], 1
je 0x5a791d
mov byte [ebp - 0x46], 0
jmp case.0x5a78e6.0
mov byte [ebp - 0x46], 1
jmp case.0x5a78e6.0
test byte [ebp - 0x4e], 8
je 0x5a792f
mov byte [ebp - 0x46], 3
jmp case.0x5a78e6.0
mov byte [ebp - 0x46], 2
jmp case.0x5a78e6.0
test byte [ebp - 0x4e], 2
je case.0x5a78e6.0
mov byte [ebp - 0x46], 1
jmp case.0x5a78e6.0
test byte [ebp - 0x4e], 4
je case.0x5a78e6.0
mov byte [ebp - 0x46], 2
jmp case.0x5a78e6.0
test byte [ebp - 0x4e], 0x20
je case.0x5a78e6.0
mov byte [ebp - 0x46], 5
mov byte [ebp - 0x45], 0
mov dword [ebp - 0x124], 0x64faf4
mov dword [ebp - 0x128], 0x64fad8
mov dword [ebp - 0x12c], 0x5c73c8
mov dword [ebp - 0x130], 0x5c7414
movzx eax, byte [ebp - 0x45]
cmp al, 7
ja 0x5a7995
and eax, 0x7f
movzx edx, byte [ebp - 0x4e]
bt edx, eax
jae 0x5a7c10
mov eax, dword [ebp - 0x124]
cmp dword [eax], 0
jne 0x5a7a18
push 0
lea eax, [ebp - 0x140]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040afc4
mov eax, ebx
call fcn.004807e0
or eax, 0x420
push eax
lea eax, [ebp - 0x140]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
call fcn.0040a638
mov eax, dword [ebp - 0x170]
call fcn.0040769c
push eax
mov eax, ebx
call fcn.004dd5b8
call fcn.004617d4
push eax
call sub.user32.dll_DrawTextW
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x140]
add eax, 0x10
mov edx, dword [ebp - 0x124]
mov dword [edx], eax
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jle 0x5a7a30
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, eax
mov eax, dword [ebx + 0x3ac]
call fcn.00442750
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x12c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
call dword [ecx + 0x78]
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
call fcn.0040a638
mov eax, dword [ebp - 0x174]
push eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
mov eax, edi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x48]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x54]
movzx eax, byte [ebp - 0x45]
cmp al, byte [ebp - 0x46]
jne 0x5a7ae6
mov eax, dword [ebp - 0xa4]
mov dword [eax + 0xc], 1
jmp 0x5a7af1
mov eax, dword [ebp - 0xa4]
xor edx, edx
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
cmp eax, 2
jne 0x5a7b2c
test byte [edi + 0x69], 8
je 0x5a7b2c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x4c]
cmp dword [edi + 0xec], 0xffffffff
je 0x5a7b64
movzx eax, byte [ebp - 0x45]
cmp al, byte [ebp - 0x46]
jne 0x5a7b64
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x50]
xor edx, edx
mov eax, dword [ebp - 0xa4]
call fcn.00486c30
movzx eax, byte [ebp - 0x45]
cmp al, byte [ebp - 0x47]
jne 0x5a7b8c
test byte [edi + 0x69], 8
je 0x5a7b8c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x4c]
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
cmp eax, 0x46
jge 0x5a7ba5
mov dword [ebp - 0xcc], 0x46
jmp 0x5a7bab
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xa4]
call fcn.0047d008
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xa4]
call fcn.0047d03c
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov dword [eax + 0x114], ebx
mov dword [eax + 0x110], 0x5ad6c0
cmp dword [edi + 0xec], 0xffffffff
jne 0x5a7c10
xor edx, edx
mov eax, dword [ebp - 0xa4]
call fcn.00486c48
inc byte [ebp - 0x45]
add dword [ebp - 0x130], 4
add dword [ebp - 0x12c], 4
add dword [ebp - 0x128], 4
add dword [ebp - 0x124], 4
cmp byte [ebp - 0x45], 6
jne 0x5a7983
mov eax, dword [ebx + 0x3b0]
mov edx, dword [eax]
call dword [edx + 8]
test byte [edi + 0x68], 2
jne 0x5a7ea3
mov eax, dword [edi + 0x60]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a8357
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x140]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040afc4
mov eax, ebx
call fcn.004807e0
or eax, 0x420
push eax
lea eax, [ebp - 0x140]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x178]
mov edx, dword [ebp - 0x54]
mov eax, dword [edi + 0x60]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x178]
call fcn.0040769c
push eax
mov eax, ebx
call fcn.004dd5b8
call fcn.004617d4
push eax
call sub.user32.dll_DrawTextW
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x140]
add eax, 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x24]
jle 0x5a7ce6
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0xec]
mov dword [ebp - 0x98], eax
movzx eax, byte [0x5a9af8]
cmp al, byte [ebp - 0x4e]
jne 0x5a7d11
cmp dword [edi + 0xec], 0
jg 0x5a7d11
mov dword [ebp - 0x98], 0x64
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, eax
mov eax, dword [ebx + 0x3b0]
call fcn.00442750
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3b0]
call fcn.0044294c
mov dword [ebp - 0xac], eax
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x54]
call fcn.0041dea4
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x17c]
mov edx, 0x5a9b08
call fcn.004078f0
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3b0]
call fcn.0044294c
mov edx, eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x64
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x54]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3b0]
call fcn.0044294c
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
cmp eax, dword [ebp - 0x98]
sete byte [ebp - 0x91]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3b0]
call fcn.0044294c
mov edx, eax
movzx ecx, byte [ebp - 0x91]
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x50]
lea ecx, [ebp - 0x184]
mov edx, dword [ebp - 0x54]
mov eax, dword [edi + 0x60]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x184]
push eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3b0]
call fcn.0044294c
mov edx, eax
mov eax, edi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x48]
cmp dword [ebp - 0x58], 0x46
jge 0x5a7e21
mov dword [ebp - 0xd0], 0x46
jmp 0x5a7e2a
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xac]
call fcn.0047d008
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xac]
call fcn.0047d03c
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3b0]
call fcn.0044294c
mov dword [eax + 0x114], ebx
mov dword [eax + 0x110], 0x5ad6c0
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x98], 0xffffffff
jne 0x5a7e8f
xor edx, edx
mov eax, dword [ebp - 0xac]
call fcn.00486c48
inc dword [ebp - 0x54]
dec dword [ebp - 0xa8]
jne 0x5a7c6d
jmp 0x5a8357
xor eax, eax
mov dword [ebp - 0x80], eax
mov dl, 1
mov eax, dword [0x459344]
call fcn.0045f8a8
mov dword [ebp - 0x88], eax
mov dl, 1
mov eax, dword [0x459344]
call fcn.0045f8a8
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.004dd5b8
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, 0xb
mov eax, dword [ebp - 0x88]
call fcn.0045fe34
movzx edx, byte [0x5a9b1c]
mov eax, dword [ebp - 0x88]
call fcn.0045fe60
mov eax, ebx
call fcn.004dd5b8
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x60]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a832c
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x54], 0
mov eax, ebx
call fcn.004dd5b8
mov eax, dword [eax + 0x40]
mov edx, 0xa
call fcn.0045fe34
mov eax, ebx
call fcn.004dd5b8
mov eax, dword [eax + 0x40]
movzx edx, byte [0x5a9af8]
call fcn.0045fe60
xor eax, eax
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, ebx
call fcn.004807e0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
movzx eax, byte [edi + 0x120]
push eax
push 1
lea ecx, [ebp - 0x188]
mov edx, dword [ebp - 0x54]
mov eax, dword [edi + 0x60]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x188]
push eax
mov eax, ebx
call fcn.004dd5b8
mov ecx, dword [ebp - 0x88]
pop edx
call fcn.005a5518
add dword [ebp - 0x58], 0x1a
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x24]
jle 0x5a7fc9
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x80]
jle 0x5a7fd7
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
test byte [edi + 0x68], 4
jne 0x5a8026
mov eax, dword [ebx + 0x38c]
add eax, eax
add eax, dword [ebp - 0x80]
add eax, dword [ebx + 0x394]
add eax, 0x20
cmp eax, dword [ebp - 0x60]
jge 0x5a8001
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xd4], eax
jmp 0x5a801b
mov eax, dword [ebx + 0x38c]
add eax, eax
add eax, dword [ebp - 0x80]
add eax, dword [ebx + 0x394]
add eax, 0x20
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x60], eax
jmp 0x5a8057
mov eax, dword [ebp - 0x80]
add eax, dword [ebx + 0x38c]
cmp eax, dword [ebp - 0x60]
jge 0x5a803f
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xd8], eax
jmp 0x5a804e
mov eax, dword [ebp - 0x80]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x60], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x59c1a8]
call fcn.005a6954
mov edx, eax
mov eax, dword [ebx + 0x3b0]
call fcn.00442750
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3b0]
call fcn.0044294c
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0x190]
mov eax, dword [ebp - 0x54]
call fcn.0041dea4
mov ecx, dword [ebp - 0x190]
lea eax, [ebp - 0x18c]
mov edx, 0x5a9b2c
call fcn.004078f0
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
call dword [ecx + 0x78]
lea ecx, [ebp - 0x194]
mov edx, dword [ebp - 0x54]
mov eax, dword [edi + 0x60]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0xb0]
call fcn.0047da00
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x64]
mov edx, 0xc45300
call fcn.0045fa94
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x2ac]
mov edx, dword [ebp - 0x88]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x2ac]
mov edx, 0xc45300
call fcn.0045fa94
mov eax, dword [ebp - 0x54]
add eax, 0x64
mov edx, dword [ebp - 0xb0]
mov dword [edx + 0x2a8], eax
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x2a0], 0xffe16c
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x29c], 0xffe16c
mov eax, dword [ebp - 0xb0]
movzx edx, byte [edi + 0x120]
mov byte [eax + 0x2b8], dl
cmp dword [ebp - 0x80], 0x3c
jge 0x5a8198
mov dword [ebp - 0xdc], 0x3c
jmp 0x5a81a1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xb0]
call fcn.0047d008
cmp dword [edi + 0xec], 0xffffffff
je 0x5a81c8
mov eax, dword [ebp - 0xb0]
mov byte [eax + 0x2b0], 1
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x270]
mov edx, 0x5a9b48
call fcn.004608b8
add eax, 0x14
cmp eax, dword [ebp - 0x28]
jge 0x5a81e9
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x5c]
jge 0x5a81f9
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xe0], eax
jmp 0x5a81ff
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xb0]
call fcn.0047d03c
test byte [edi + 0x68], 4
jne 0x5a82e2
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x288]
mov ecx, 0x5a9b5c
mov edx, dword [0x5cac38]
call fcn.0046788c
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x288]
mov edx, 0xff00ff
call fcn.00468594
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x294]
mov ecx, 0x5a9b78
mov edx, dword [0x5cac38]
call fcn.0046788c
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x294]
mov edx, 0xff00ff
call fcn.00468594
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x290]
mov ecx, 0x5a9b98
mov edx, dword [0x5cac38]
call fcn.0046788c
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x290]
mov edx, 0xff00ff
call fcn.00468594
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28c]
mov ecx, 0x5a9bbc
mov edx, dword [0x5cac38]
call fcn.0046788c
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28c]
mov edx, 0xff00ff
call fcn.00468594
cmp dword [edi + 0xec], 0xffffffff
jne 0x5a82fa
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.00486c48
jmp 0x5a8307
mov dl, 1
mov eax, dword [ebp - 0xb0]
call fcn.00486c48
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x114], ebx
mov dword [eax + 0x110], 0x5ad6c0
inc dword [ebp - 0x54]
dec dword [ebp - 0xa8]
jne 0x5a7f37
mov eax, ebx
call fcn.004dd5b8
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x84]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x88]
call fcn.00405080
mov eax, dword [ebp - 0x8c]
call fcn.00405080
mov eax, dword [ebx + 0x3ac]
cmp dword [eax + 8], 0
jne 0x5a854a
mov eax, dword [ebx + 0x3b0]
cmp dword [eax + 8], 0
jne 0x5a854a
mov byte [ebp - 0x45], 0
push 0
lea eax, [ebp - 0x140]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0040afc4
mov eax, ebx
call fcn.004807e0
or eax, 0x420
push eax
lea eax, [ebp - 0x140]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x198]
movzx eax, byte [ebp - 0x45]
mov eax, dword [eax*4 + 0x64fad8]
call fcn.0040a638
mov eax, dword [ebp - 0x198]
call fcn.0040769c
push eax
mov eax, ebx
call fcn.004dd5b8
call fcn.004617d4
push eax
call sub.user32.dll_DrawTextW
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x140]
add eax, 8
movzx edx, byte [ebp - 0x45]
mov dword [edx*4 + 0x64faf4], eax
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, eax
mov eax, dword [ebx + 0x3ac]
call fcn.00442750
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov dword [ebp - 0xb4], eax
movzx eax, byte [ebp - 0x45]
mov edx, dword [eax*4 + 0x5c73c8]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x78]
lea edx, [ebp - 0x19c]
movzx eax, byte [ebp - 0x45]
mov eax, dword [eax*4 + 0x64fad8]
call fcn.0040a638
mov eax, dword [ebp - 0x19c]
push eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
mov eax, edi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x48]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
movzx eax, byte [ebp - 0x45]
mov ecx, dword [eax*4 + 0x5c7414]
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x54]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov dword [eax + 0xc], 1
test byte [edi + 0x69], 8
je 0x5a84e7
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3ac]
call fcn.0044294c
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x4c]
movzx eax, byte [ebp - 0x45]
mov eax, dword [eax*4 + 0x64faf4]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x46
jge 0x5a850d
mov dword [ebp - 0xe8], 0x46
jmp 0x5a8519
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xb4]
call fcn.0047d008
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb4]
call fcn.0047d03c
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
mov eax, ebx
call fcn.004dd5b8
mov eax, dword [eax + 0x40]
mov edx, 0xb
call fcn.0045fe34
mov eax, ebx
call fcn.004dd5b8
mov eax, dword [eax + 0x40]
movzx edx, byte [0x5a9b1c]
call fcn.0045fe60
push 0
mov eax, dword [0x5c7f38]
mov eax, dword [eax]
call fcn.004e2948
sar eax, 1
jns 0x5a8589
adc eax, 0
push eax
push 0
push 0
lea eax, [ebp - 0x140]
push eax
call sub.user32.dll_SetRect
mov eax, ebx
call fcn.004dd5b8
call fcn.004617d4
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x5a85cf
mov eax, dword [ebp - 0xec]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xec], eax
mov eax, ebx
call fcn.004807e0
or eax, 0x450
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0xec]
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
mov eax, dword [ebp - 0xf0]
push eax
call sub.user32.dll_DrawTextW
mov eax, ebx
call fcn.004dd5b8
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x84]
mov ecx, dword [eax]
call dword [ecx + 8]
movzx eax, byte [ebp - 0x4d]
mov eax, dword [eax*4 + 0x5c73e0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x4c], 0
je 0x5a863e
mov eax, dword [ebx + 0x394]
add eax, 0x20
add dword [ebp - 0x38], eax
cmp dword [ebp - 0x4c], 0
jne 0x5a8654
mov eax, dword [edi + 0x64]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x5a87da
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4bd5bc]
call fcn.004bf754
mov dword [ebx + 0x3cc], eax
mov eax, dword [ebx + 0x3cc]
mov dword [ebp - 0xb8], eax
mov edx, 0x5a9bdc
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [edi + 0x64]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x5a86bb
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x1b0]
call fcn.00464084
mov edx, dword [edi + 0x64]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x5a87bc
movzx eax, byte [edi + 0xe8]
sub al, 1
jb 0x5a86fb
sub al, 5
jne 0x5a8799
push 0x5a9be8
mov eax, dword [0x5cac38]
push eax
call sub.user32.dll_LoadBitmapW
push eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x1b0]
call fcn.0046406c
pop edx
call fcn.004680b8
jmp 0x5a87bc
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x1b0]
call fcn.0046406c
mov edx, 0x20
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x1b0]
call fcn.0046406c
mov edx, 0x20
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x1b0]
call fcn.0046406c
call fcn.004670d0
mov eax, dword [eax + 0x48]
mov edx, 0xff000005
call fcn.00460634
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x1b0]
call fcn.0046406c
call fcn.004670d0
mov eax, dword [eax + 0x44]
mov dl, 5
call fcn.0046037c
push 0x1f
push 0x1f
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x1b0]
call fcn.0046406c
call fcn.004670d0
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x7c]
jmp 0x5a87bc
mov eax, dword [ebp - 0x4c]
push eax
push 0
call sub.user32.dll_LoadIconW
push eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x1b0]
call fcn.00464084
pop edx
call fcn.0046925c
push 0x20
push 0x20
mov ecx, dword [ebp - 0x40]
sub ecx, 5
mov edx, dword [ebx + 0x38c]
mov eax, dword [ebp - 0xb8]
mov esi, dword [eax]
call dword [esi + 0x98]
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4a6b74]
call fcn.004af2a0
mov dword [ebx + 0x388], eax
mov eax, dword [ebx + 0x388]
mov dword [ebp - 0xbc], eax
mov edx, 0x5a9c08
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [ebp - 0xbc]
call fcn.004afb28
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xbc]
call fcn.0047da00
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x64]
mov edx, 0xb
call fcn.0045fe34
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x64]
mov edx, 0xc45300
call fcn.0045fa94
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0xbc]
call fcn.0047d278
movzx edx, byte [ebx + 0x61]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x80]
xor edx, edx
mov eax, dword [ebp - 0xbc]
call fcn.004afab0
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x138]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xbc]
mov si, 0xffc7
call fcn.00405308
test al, al
je 0x5a88c3
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xbc]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xbc]
mov esi, dword [eax]
call dword [esi + 0x98]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x4c]
add eax, dword [ebp - 0x40]
add eax, dword [ebx + 0x398]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x3f8], eax
test byte [edi + 0x69], 2
jne 0x5a891e
cmp byte [edi + 0x94], 0
jne 0x5a891e
test byte [edi + 0x69], 1
jne 0x5a891e
test byte [edi + 0x68], 0x80
je 0x5a8960
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4bde70]
call fcn.004bff24
mov dword [ebx + 0x3f0], eax
mov edx, 0x64
mov eax, dword [ebx + 0x3f0]
call fcn.004c00c8
push ebx
push 0x5acbac
mov eax, dword [ebx + 0x3f0]
call fcn.004c00d8
mov dl, 1
mov eax, dword [ebx + 0x3f0]
call fcn.004c00b8
test byte [edi + 0x68], 0x80
je 0x5a8a80
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4c3664]
call fcn.004c7c08
mov dword [ebx + 0x3c8], eax
mov eax, dword [ebx + 0x3c8]
mov dword [ebp - 0xc0], eax
mov edx, 0x5a9c20
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x40]
add eax, 0xc
push eax
lea eax, [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x48]
sub ecx, dword [ebx + 0x38c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x38c]
call fcn.0040afc4
lea edx, [ebp - 0x1ac]
mov eax, dword [ebp - 0xc0]
call fcn.0047d278
mov edx, dword [edi + 0x8c]
mov eax, dword [ebp - 0xc0]
call fcn.004c80ac
mov edx, dword [edi + 0x90]
mov eax, dword [ebp - 0xc0]
call fcn.004c80b8
xor edx, edx
mov eax, dword [ebp - 0xc0]
call fcn.004c8134
cmp dword [ebx + 0x3f0], 0
jne 0x5a8a5d
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4bde70]
call fcn.004bff24
mov dword [ebx + 0x3f0], eax
mov edx, 0x64
mov eax, dword [ebx + 0x3f0]
call fcn.004c00c8
push ebx
push 0x5acbac
mov eax, dword [ebx + 0x3f0]
call fcn.004c00d8
mov dl, 1
mov eax, dword [ebx + 0x3f0]
call fcn.004c00b8
test byte [edi + 0x69], 1
je 0x5a8a80
mov edx, 0xa
mov eax, dword [ebx + 0x3c8]
call fcn.004c80c8
mov dl, 1
mov eax, dword [ebx + 0x3c8]
call fcn.004c824c
mov eax, dword [edi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5a8cb1
xor eax, eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x3b4]
test byte [eax + 0x69], 4
je 0x5a8aae
mov eax, dword [ebx + 0x3b4]
xor edx, edx
mov dword [eax + 0x54], edx
jmp 0x5a8ac3
mov eax, dword [ebx + 0x3b4]
mov eax, dword [eax + 0xf0]
mov edx, dword [ebx + 0x3b4]
mov dword [edx + 0x54], eax
mov eax, dword [edi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5a8cb1
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x54], 0
mov edx, ebx
mov eax, dword [ebx + 0x3b4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, eax
mov eax, dword [ebx + 0x3c0]
call fcn.00442750
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
push eax
push ebx
push 0x5ace70
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3c0]
call fcn.0044294c
mov ecx, eax
mov edx, ebx
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x3c]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3c0]
call fcn.0044294c
mov dword [ebp - 0xc4], eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0xc4]
call fcn.0047d278
mov edx, dword [ebx + 0x3f8]
add edx, dword [ebx + 0x38c]
mov eax, dword [ebp - 0xc4]
call fcn.0047cfa0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0xc4]
call fcn.0047cfd4
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebx + 0x48]
sub edx, dword [eax + 0x40]
sub edx, 4
mov eax, dword [ebp - 0xc4]
call fcn.0047d008
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x1b0]
mov edx, dword [ebp - 0x54]
mov eax, dword [edi + 0x6c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1b0]
push eax
mov eax, ebx
call fcn.004dd5b8
mov edx, eax
mov eax, ebx
pop ecx
call fcn.005a7534
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x78]
add eax, dword [ebx + 0x38c]
add eax, 0x14
cmp eax, dword [ebp - 0x60]
jge 0x5a8bdc
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xf4], eax
jmp 0x5a8bf7
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x78]
add eax, dword [ebx + 0x38c]
add eax, 0x14
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x1b4]
mov edx, dword [ebp - 0x54]
mov eax, dword [edi + 0x6c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1b4]
push eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3c0]
call fcn.0044294c
mov edx, eax
mov eax, edi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x44]
test byte [edi + 0x69], 4
je 0x5a8c51
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3c0]
call fcn.0044294c
mov edx, eax
xor ecx, ecx
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x40]
jmp 0x5a8ca2
cmp dword [edi + 0xf0], 0
jle 0x5a8c84
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3c0]
call fcn.0044294c
mov edx, eax
mov eax, dword [ebp - 0x64]
add eax, 0xc8
cmp eax, dword [edi + 0xf0]
sete cl
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x40]
jmp 0x5a8ca2
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x3c0]
call fcn.0044294c
mov edx, eax
cmp dword [ebp - 0x54], 0
sete cl
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x40]
inc dword [ebp - 0x54]
dec dword [ebp - 0xa8]
jne 0x5a8ae2
cmp dword [edi + 0x48], 0
je 0x5a8f17
xor eax, eax
mov dword [ebx + 0x3e0], eax
xor eax, eax
mov dword [ebx + 0x3e4], eax
mov eax, dword [ebp - 0x40]
add eax, 0x1a
push eax
lea eax, [ebp - 0x150]
push eax
mov ecx, 0x12c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x38c]
call fcn.0040afc4
mov eax, dword [ebx + 0x3b4]
test byte [eax + 0x68], 1
je 0x5a8dd0
movzx eax, byte [0x5a9b1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x3b4]
mov eax, dword [eax + 0x48]
mov ecx, 0x5a9c44
mov edx, 0x5a9c5c
call fcn.00424d68
movzx eax, byte [0x5a9b1c]
push eax
lea eax, [ebp - 0x1b8]
push eax
mov ecx, 0x5a9c44
mov edx, 0x5a9c70
mov eax, dword [ebp - 0x14]
call fcn.00424d68
mov edx, dword [ebp - 0x1b8]
lea eax, [ebp - 0x14]
call fcn.00406f30
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 1
push 0
push 0
push 1
push 1
push 0
push 1
push 0x3ff00000
push 0
push 0xff0000
push 0x1fffffff
push 0x1fffffff
push 0x808080
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x3e0]
push eax
lea eax, [ebx + 0x3e4]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x160]
push eax
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.004dd5b8
lea ecx, [ebp - 0x150]
mov edx, dword [ebp - 0x14]
call fcn.005a401c
jmp 0x5a8e27
movzx eax, byte [0x5a9b1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x3b4]
mov eax, dword [eax + 0x48]
mov ecx, 0x5a9c80
mov edx, 0x5a9c5c
call fcn.00424d68
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x150]
mov dword [ebx + 0x3e0], eax
lea eax, [ebx + 0x3e0]
push eax
lea eax, [ebx + 0x3e4]
push eax
mov eax, ebx
call fcn.004dd5b8
mov edx, eax
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.005a7534
mov ecx, ebx
mov dl, 1
mov eax, dword [0x59c1a8]
call fcn.005a6954
mov dword [ebx + 0x39c], eax
mov esi, dword [ebx + 0x39c]
mov edx, 0x5a9c90
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor edx, edx
mov eax, esi
call fcn.0047da00
xor eax, eax
mov dword [esi + 0x2a8], eax
mov edx, 0x13
mov eax, esi
call fcn.0047d008
mov edx, 0x13
mov eax, esi
call fcn.0047d03c
mov dword [esi + 0x114], ebx
mov dword [esi + 0x110], fcn.005ab7f4
mov eax, dword [esi + 0x288]
mov ecx, 0x5a9cb8
mov edx, dword [0x5cac38]
call fcn.0046788c
mov eax, dword [esi + 0x288]
mov edx, 0xff00ff
call fcn.00468594
mov eax, dword [esi + 0x294]
mov ecx, 0x5a9cd4
mov edx, dword [0x5cac38]
call fcn.0046788c
mov eax, dword [esi + 0x294]
mov edx, 0xff00ff
call fcn.00468594
mov eax, dword [esi + 0x290]
mov ecx, 0x5a9cf8
mov edx, dword [0x5cac38]
call fcn.0046788c
mov eax, dword [esi + 0x290]
mov edx, 0xff00ff
call fcn.00468594
movzx eax, byte [0x5a9af8]
cmp al, byte [edi + 0x45]
je 0x5a8f17
mov dword [esi + 0x2b4], 0xf0f0f0
xor eax, eax
mov dword [ebp - 0x90], eax
cmp dword [edi + 0x5c], 0
je 0x5a9066
xor eax, eax
mov dword [ebp - 0x78], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4ad508]
call fcn.004b4ab0
mov dword [ebx + 0x3c4], eax
mov esi, dword [ebx + 0x3c4]
mov edx, 0x5a9d1c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor edx, edx
mov eax, esi
call fcn.004b3ae4
lea edx, [ebp - 0x140]
mov eax, esi
call fcn.0047d278
movzx edx, byte [ebx + 0x61]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov edx, dword [edi + 0x5c]
mov eax, esi
call fcn.0047da00
mov edx, dword [ebx + 0x38c]
mov eax, esi
call fcn.0047cfa0
mov edx, dword [ebp - 0x40]
mov eax, esi
call fcn.0047cfd4
test byte [edi + 0x68], 2
je 0x5a8fb6
mov edx, 0xff000005
mov eax, esi
call fcn.0047db80
jmp 0x5a8fc3
mov edx, dword [edi + 0x118]
mov eax, esi
call fcn.0047db80
mov dword [esi + 0x114], ebx
mov dword [esi + 0x110], 0x5ace04
test byte [edi + 0x68], 0x40
setne dl
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xec]
mov byte [edi + 0x58], al
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x1bc]
mov eax, esi
call fcn.0047d9c8
mov eax, dword [ebp - 0x1bc]
push eax
mov eax, ebx
call fcn.004dd5b8
mov edx, eax
mov eax, ebx
pop ecx
call fcn.005a7534
mov eax, dword [ebx + 0x398]
add eax, eax
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x40]
add eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x60]
jge 0x5a9045
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xf8], eax
jmp 0x5a9051
mov eax, dword [esi + 0x40]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x60], eax
mov edx, 0x10
mov eax, esi
call fcn.0047d03c
xor eax, eax
mov dword [ebx + 0x3d0], eax
xor eax, eax
mov dword [ebx + 0x3d4], eax
cmp dword [edi + 0x3c], 0
je 0x5a91f8
mov eax, dword [ebp - 0x40]
add eax, 0x1a
push eax
lea eax, [ebp - 0x150]
push eax
mov ecx, 0x12c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x38c]
call fcn.0040afc4
movzx eax, byte [0x5a9b1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x3b4]
mov eax, dword [eax + 0x3c]
mov ecx, 0x5a9c44
mov edx, 0x5a9c5c
call fcn.00424d68
movzx eax, byte [0x5a9b1c]
push eax
lea eax, [ebp - 0x1c0]
push eax
mov ecx, 0x5a9c44
mov edx, 0x5a9c70
mov eax, dword [ebp - 0x18]
call fcn.00424d68
mov edx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x18]
call fcn.00406f30
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 1
push 0
push 0
push 1
push 1
push 0
push 1
push 0x3ff00000
push 0
push 0xff0000
push 0x1fffffff
push 0x1fffffff
push 0x808080
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x3d0]
push eax
lea eax, [ebx + 0x3d4]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x160]
push eax
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.004dd5b8
lea ecx, [ebp - 0x150]
mov edx, dword [ebp - 0x18]
call fcn.005a401c
movzx eax, byte [edi + 0xe9]
mov eax, dword [eax*4 + 0x5c73fc]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x5a91f8
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4bd5bc]
call fcn.004bf754
mov dword [ebx + 0x3b8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x3bc], eax
mov eax, dword [ebx + 0x3b8]
mov dword [ebp - 0xc8], eax
mov edx, 0x5a9d44
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor edx, edx
mov eax, dword [ebp - 0xc8]
call fcn.0047d8e8
push 0x10
push 0x10
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebx + 0x38c]
mov eax, dword [ebp - 0xc8]
mov esi, dword [eax]
call dword [esi + 0x98]
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x34], eax
cmp dword [edi + 0x48], 0
je 0x5a92ad
cmp dword [ebx + 0x39c], 0
je 0x5a92ad
xor eax, eax
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, ebx
call fcn.004dd5b8
mov edx, eax
mov eax, dword [ebx + 0x3b4]
mov ecx, dword [eax + 0x4c]
mov eax, ebx
call fcn.005a7534
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, ebx
call fcn.004dd5b8
mov edx, eax
mov eax, dword [ebx + 0x3b4]
mov ecx, dword [eax + 0x50]
mov eax, ebx
call fcn.005a7534
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x80]
jle 0x5a927d
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xfc], eax
jmp 0x5a9286
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x34]
add eax, dword [ebx + 0x394]
add eax, dword [ebp - 0x78]
add eax, dword [ebx + 0x394]
mov dword [ebp - 0x34], eax
cmp dword [edi + 0x38], 0
jne 0x5a92b7
sub dword [ebp - 0x40], 0x14
movzx eax, byte [edi + 0x105]
cmp eax, 8
ja case.0x5a92c7.6
jmp dword [eax*4 + 0x5a92ce]
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4a7ce4]
call fcn.004afca8
mov dword [ebx + 0x400], eax
mov edx, ebx
mov eax, dword [ebx + 0x400]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x5a9d68
mov eax, dword [ebx + 0x400]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dl, 1
mov eax, dword [ebx + 0x400]
call fcn.00486c48
mov edx, dword [edi + 0x108]
mov eax, dword [ebx + 0x400]
call fcn.0047da00
mov edx, dword [edi + 0x124]
mov eax, dword [ebx + 0x400]
call fcn.004afea0
cmp byte [edi + 0x105], 8
jne 0x5a936c
mov dx, 0x2a
mov eax, dword [ebx + 0x400]
call fcn.004afffc
jmp 0x5a9379
xor edx, edx
mov eax, dword [ebx + 0x400]
call fcn.004afffc
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x138]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x44], eax
mov eax, ebx
mov si, 0xffc7
call fcn.00405308
test al, al
je 0x5a93aa
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x44], eax
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
push eax
push 0x14
mov ecx, dword [ebp - 0x40]
add ecx, 0x14
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x400]
mov esi, dword [eax]
call dword [esi + 0x98]
jmp case.0x5a92c7.6
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4aa9d8]
call fcn.004b2820
mov dword [ebx + 0x404], eax
mov edx, ebx
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x5a9d8c
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dl, 1
mov eax, dword [ebx + 0x404]
call fcn.00486c48
mov edx, dword [edi + 0x108]
mov eax, dword [ebx + 0x404]
call fcn.0047da00
mov edx, dword [edi + 0x114]
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov eax, dword [ebx + 0x404]
mov eax, dword [eax + 0x2ac]
mov edx, dword [edi + 0x10c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [edi + 0x124]
mov eax, dword [ebx + 0x404]
call fcn.004b1a40
cmp byte [edi + 0x105], 3
jne 0x5a94bd
mov dl, 2
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0x148]
cmp dword [edi + 0x128], 0xffffffff
jge 0x5a94a9
mov eax, dword [ebx + 0x404]
mov eax, dword [eax + 0x2ac]
mov edx, dword [edi + 0x108]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
jmp 0x5a94bd
mov edx, dword [edi + 0x128]
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x138]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x44], eax
mov eax, ebx
mov si, 0xffc7
call fcn.00405308
test al, al
je 0x5a94ee
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x44], eax
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
push eax
push 0x14
mov ecx, dword [ebp - 0x40]
add ecx, 0x14
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x404]
mov esi, dword [eax]
call dword [esi + 0x98]
jmp case.0x5a92c7.6
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4c4eb4]
call fcn.004c99ac
mov dword [ebx + 0x408], eax
mov edx, ebx
mov eax, dword [ebx + 0x408]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x5a9db4
mov eax, dword [ebx + 0x408]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dl, 1
mov eax, dword [ebx + 0x408]
call fcn.00486c48
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x138]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x44], eax
mov eax, ebx
mov si, 0xffc7
call fcn.00405308
test al, al
je 0x5a9586
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x44], eax
cmp byte [edi + 0x105], 4
jne 0x5a959e
xor edx, edx
mov eax, dword [ebx + 0x408]
call fcn.004ca1f8
jmp 0x5a95ab
mov dl, 1
mov eax, dword [ebx + 0x408]
call fcn.004ca1f8
fld qword [edi + 0x130]
fcomp dword [0x5a9af8]
wait
fnstsw ax
sahf
je 0x5a95d6
push dword [edi + 0x134]
push dword [edi + 0x130]
mov eax, dword [ebx + 0x408]
call fcn.004c93a8
jmp 0x5a9608
mov ecx, dword [0x5c7c34]
lea edx, [ebp - 0xa0]
mov eax, dword [edi + 0x108]
call fcn.0042224c
test al, al
je 0x5a9608
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
mov eax, dword [ebx + 0x408]
call fcn.004c92e0
cmp dword [edi + 0x138], 0
je 0x5a9622
mov edx, dword [edi + 0x138]
mov eax, dword [ebx + 0x408]
call fcn.004ca2fc
mov edx, dword [ebp - 0x40]
add edx, 0x14
mov eax, dword [ebx + 0x408]
call fcn.0047cfd4
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x408]
call fcn.0047cfa0
jmp case.0x5a92c7.6
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4a8cf0]
call fcn.004b0ed8
mov dword [ebx + 0x40c], eax
mov edx, ebx
mov eax, dword [ebx + 0x40c]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x5a9dd8
mov eax, dword [ebx + 0x40c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dl, 1
mov eax, dword [ebx + 0x40c]
call fcn.00486c48
mov eax, dword [ebx + 0x40c]
mov byte [eax + 0x2a6], 0
mov edx, dword [edi + 0x124]
mov eax, dword [ebx + 0x40c]
call fcn.004afea0
mov eax, dword [ebx + 0x40c]
mov eax, dword [eax + 0x2a0]
mov edx, dword [edi + 0x108]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x138]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x44], eax
mov eax, ebx
mov si, 0xffc7
call fcn.00405308
test al, al
je 0x5a96ea
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x44], eax
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
push eax
push 0x3c
mov ecx, dword [ebp - 0x40]
add ecx, 0x14
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x40c]
mov esi, dword [eax]
call dword [esi + 0x98]
jmp case.0x5a92c7.6
cmp dword [edi + 0x110], 0
je case.0x5a92c7.6
mov eax, dword [edi + 0x110]
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x410], eax
mov edx, ebx
mov eax, dword [edi + 0x110]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [edi + 0x110]
call fcn.0047d8e8
cmp word [edi + 0xe2], 0
je 0x5a9769
mov ecx, dword [edi + 0x108]
mov edx, edi
mov eax, dword [edi + 0xe4]
call dword [edi + 0xe0]
jmp 0x5a97b9
mov eax, dword [edi + 0x110]
mov edx, dword [0x4f0e9c]
call fcn.00405298
test al, al
jne 0x5a979d
mov eax, dword [edi + 0x108]
call fcn.0040769c
push eax
mov eax, dword [edi + 0x110]
call fcn.0048696c
push eax
call sub.user32.dll_SetWindowTextW
jmp 0x5a97b9
mov eax, dword [edi + 0x110]
mov edx, dword [0x4f0e9c]
call fcn.004052bc
mov edx, dword [edi + 0x108]
call fcn.004f1ef0
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x138]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x44], eax
mov eax, ebx
mov si, 0xffc7
call fcn.00405308
test al, al
je 0x5a97ea
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov eax, dword [edi + 0x110]
call fcn.0047cfa0
mov edx, dword [ebp - 0x40]
add edx, 0x14
mov eax, dword [edi + 0x110]
call fcn.0047cfd4
mov eax, dword [edi + 0x110]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x44]
cmp eax, dword [ebx + 0x48]
jle case.0x5a92c7.6
mov eax, dword [edi + 0x110]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
jle 0x5a983f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x100], eax
jmp 0x5a9848
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x100], eax
mov eax, dword [ebx + 0x3d0]
cmp eax, dword [ebp - 0x100]
jle 0x5a9864
mov eax, dword [ebx + 0x3d0]
mov dword [ebp - 0x104], eax
jmp 0x5a9870
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
mov eax, dword [ebx + 0x38c]
add eax, eax
add eax, dword [ebp - 0x104]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x38c]
add eax, eax
add eax, dword [ebx + 0x3e0]
cmp eax, dword [ebp - 0x78]
jle 0x5a98aa
mov eax, dword [ebx + 0x38c]
add eax, eax
add eax, dword [ebx + 0x3e0]
mov dword [ebp - 0x108], eax
jmp 0x5a98b3
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x78]
jle 0x5a98cf
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10c], eax
jmp 0x5a98d8
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x60], eax
mov eax, dword [0x5c7f38]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
imul dword [ebx + 0x3fc]
mov dword [ebp - 0x1c4], eax
fild dword [ebp - 0x1c4]
fdiv dword [0x5a9df0]
call fcn.0040496c
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x60]
cdq
cmp edx, dword [ebp - 0x114]
jne 0x5a992a
cmp eax, dword [ebp - 0x118]
jbe 0x5a993e
jmp 0x5a992c
jle 0x5a993e
mov eax, dword [ebp - 0x60]
cdq
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
jmp 0x5a9956
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x60], eax
mov eax, dword [0x5c7f38]
mov eax, dword [eax]
call fcn.004e2948
mov esi, eax
push 0x2e
call sub.user32.dll_GetSystemMetrics
add eax, eax
sub esi, eax
cmp esi, dword [ebp - 0x60]
jge 0x5a9999
mov eax, dword [0x5c7f38]
mov eax, dword [eax]
call fcn.004e2948
mov esi, eax
push 0x2e
call sub.user32.dll_GetSystemMetrics
add eax, eax
sub esi, eax
mov dword [ebp - 0x60], esi
mov edx, dword [ebp - 0x60]
mov eax, ebx
call fcn.004dc24c
cmp byte [edi + 0x105], 5
jne 0x5a99e1
cmp dword [edi + 0x110], 0
je 0x5a99e1
mov eax, ebx
call fcn.0047d2b4
sub eax, dword [ebp - 0x44]
mov edx, dword [edi + 0x110]
cmp eax, dword [edx + 0x48]
jge 0x5a99e1
mov eax, ebx
call fcn.0047d2b4
mov edx, eax
sub edx, dword [ebp - 0x44]
mov eax, dword [edi + 0x110]
call fcn.0047d008
test byte [edi + 0x68], 0x80
je 0x5a9a05
mov eax, ebx
call fcn.0047d2b4
mov edx, eax
mov eax, dword [ebx + 0x38c]
add eax, eax
sub edx, eax
mov eax, dword [ebx + 0x3c8]
call fcn.0047d008
mov eax, ebx
call fcn.005aa4c8
cmp dword [edi + 0x48], 0
je 0x5a9a20
test byte [edi + 0x68], 8
setne dl
mov eax, ebx
call fcn.005ab810
mov eax, dword [0x5c7f38]
mov eax, dword [eax]
call fcn.004e2948
mov edx, eax
sar edx, 1
jns 0x5a9a35
adc edx, 0
mov eax, dword [ebx + 0x48]
sar eax, 1
jns 0x5a9a3f
adc eax, 0
sub edx, eax
mov eax, ebx
call fcn.004e1c84
mov eax, dword [0x5c7f38]
mov eax, dword [eax]
call fcn.004e2940
mov edx, eax
sar edx, 1
jns 0x5a9a5d
adc edx, 0
mov eax, dword [ebx + 0x4c]
sar eax, 1
jns 0x5a9a67
adc eax, 0
sub edx, eax
mov eax, ebx
call fcn.004e1cc0
mov eax, dword [ebp - 0x84]
call fcn.00405080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a9aee
lea eax, [ebp - 0x1c0]
call fcn.00406b08
lea eax, [ebp - 0x1bc]
call fcn.00406b08
lea eax, [ebp - 0x1b8]
mov edx, 3
call fcn.00406b68
lea eax, [ebp - 0x19c]
mov edx, 0xc
call fcn.00406b68
lea eax, [ebp - 0x16c]
mov edx, 2
call fcn.00406b68
lea eax, [ebp - 0x164]
call fcn.00406b08
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00406b68
ret