Function at 0x4381b0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b215
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x5a1014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp byte [0x5a2ee5], 0
mov byte [ebp - 0x21], 0
jne 0x4389e4
test byte [ebx + 0x150], 0x40
lea edi, [ebx + 0x40]
jne 0x49da76
movzx ecx, word [edi]
mov dword [ebp - 0x2c], edi
call fcn.00458469
test al, al
jne 0x49dae3
mov byte [ebp - 0x11], 0
mov byte [0x5a2ef8], 0
mov dword [ebp - 0x2c], edi
mov dword [0x5a2f50], 0
mov ecx, dword [ebx + 0x9b4]
push ebx
call fcn.00477379
mov ecx, dword [0x5a30f8]
mov edx, 0x404500
call fcn.00452cef
mov ecx, dword [0x5a2ee8]
mov edx, 0x403564
mov dword [ebp - 0x7c], eax
call fcn.00452cef
mov dword [ebp - 0x40], eax
xor cl, cl
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
mov byte [ebp - 0x23], cl
mov ecx, dword [ebx + 0x280]
mov dword [ebp - 0x60], eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov dword [ebp - 0x8c], fcn.00452f9f
mov dword [ebp - 0x88], 0x478d10
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x34], eax
mov esi, dword [ebp + 8]
lea ecx, [ecx]
lea eax, [ebp - 0x8c]
push eax
call fcn.00452f9f
test al, al
je 0x438878
mov edi, dword [ebp - 0x84]
xor al, al
mov byte [ebp - 0x22], al
mov dword [ebp - 0x28], edi
mov ecx, dword [edi + 0x28]
test ecx, 0x800
jne 0x4382a0
test byte [edi + 0x38], 0x10
jne 0x49db09
mov edx, dword [ebp + 8]
mov esi, dword [edi + 0x30]
and ecx, 0x1e0
mov dword [ebp - 0x30], ecx
test esi, esi
jne 0x49db74
mov esi, dword [ebp + 0xc]
test byte [edi + 0x38], 8
jne 0x49dba1
mov eax, dword [ebx + 0x238]
and eax, 0x20000000
or eax, 0
jne 0x49dbb6
mov byte [ebp - 0x5c], 0
cmp byte [ebp - 0x21], 0
mov edi, dword [edx]
mov ebx, dword [esi]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
je 0x438860
mov ecx, dword [0x5a2fec]
mov eax, dword [ebp - 0x28]
cmp eax, ecx
je 0x438896
xor esi, esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], fcn.00452d48
mov dword [ebp - 0x54], 0x478d10
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], edi
mov edi, edi
lea eax, [ebp - 0x58]
push eax
call fcn.00452d48
test al, al
je 0x438678
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x5a2eec]
je 0x438949
mov edx, dword [ebp - 0x50]
movzx ecx, word [edx + 0x28]
mov eax, ecx
neg eax
and eax, edi
cmp eax, edi
jne 0x4386ad
mov ecx, eax
sub ecx, edi
jne 0x4386b4
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x1c], edi
mov dword [edx + 0x20], ecx
mov edx, 0x8664
cmp word [eax], dx
mov edx, dword [ebp - 0x10]
je 0x49dbdf
mov ecx, dword [ebp - 0x50]
xor ebx, ebx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x70], fcn.0045253a
mov dword [ebp - 0x6c], 0x478d10
mov dword [ebp - 0x64], ecx
lea esp, [esp]
test ebx, ebx
je 0x43864a
mov ebx, dword [ebx + 0x1c]
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x438652
mov eax, dword [ebx + 4]
mov dword [ebp - 0x78], ebx
test eax, 0x800
jne 0x4383e0
test byte [edx + 0x150], 0x80
je 0x438417
test eax, 0x2000
je 0x4385bb
test dword [ebx + 0x40], 0x8000000
jne 0x438427
test eax, 0x4000
jne 0x4383e0
cmp dword [ebx + 8], 0
je 0x438431
mov byte [ebp - 0x22], 1
mov esi, dword [ecx]
mov ecx, 0x4019d4
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x438636
test dl, dl
je 0x438464
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x438636
add eax, 2
add ecx, 2
test dl, dl
jne 0x438440
xor eax, eax
test eax, eax
je 0x438997
push 5
push 0x4019dc
push esi
call dword [ebp - 0x34]
add esp, 0xc
test eax, eax
je 0x438997
mov eax, dword [ebp - 0x50]
mov esi, dword [eax]
mov eax, 0x4019ec
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x438640
test dl, dl
je 0x4384b4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x438640
add ecx, 2
add eax, 2
test dl, dl
jne 0x438490
xor eax, eax
test eax, eax
je 0x438997
push 6
push 0x4019e4
push esi
call dword [ebp - 0x34]
add esp, 0xc
test eax, eax
je 0x438997
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 4]
cmp eax, dword [0x5a2ee8]
je 0x49dc1b
cmp byte [ebp - 0x11], 0
jne 0x49dcc9
cmp byte [0x5a2ee5], 0
jne 0x438603
push dword [ebp - 0x5c]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
push edi
push esi
push ebx
call fcn.00438a80
test eax, eax
je 0x4385cd
test esi, esi
je 0x49dce0
add dword [esi + 8], eax
add dword [esi + 0x20], eax
mov ecx, dword [ebp - 0x18]
add edi, eax
add ecx, eax
add dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x2c]
mov esi, 0x1c4
mov dword [ebx], edi
mov dword [ebx + 0xc], ecx
mov edx, dword [ebx + 8]
cmp word [eax], si
mov esi, ebx
mov dword [ebp - 0x48], ebx
je 0x49dceb
mov eax, edx
not eax
cmp ecx, eax
ja 0x49de3f
cmp edi, eax
ja 0x49de3f
add dword [ebp - 0x20], edx
add ecx, edx
add edi, edx
mov dword [ebp - 0x18], ecx
cmp byte [0x5a4efa], 0
mov dword [ebp - 0x1c], edi
jne 0x43858b
mov eax, dword [ebx + 4]
and eax, 0x1e0
cmp eax, 0x80
je 0x43859d
test edx, edx
je 0x43859d
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x5a4e64]
je 0x43859d
mov dword [ebp - 0x38], edi
cmp byte [0x5a1105], 0
jne 0x4385d5
jmp 0x4385b0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x50]
jmp 0x4383e0
test dword [ebx + 0x40], 0x8000
je 0x4383e0
jmp 0x438417
mov ecx, dword [ebp - 0x18]
jmp 0x438534
mov eax, dword [ebx + 0x10]
mov ecx, 0x400
test word [eax + 0xcc], cx
je 0x4385b0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ecx + 0xa2c]
call fcn.00472ebb
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x50]
jmp 0x4383e0
mov eax, dword [esi + 0x9b8]
xor ecx, ecx
mov edx, dword [eax + 0x408]
test edx, edx
je 0x438628
add eax, 8
cmp dword [eax], ebx
je 0x438500
inc ecx
add eax, 4
cmp ecx, edx
jb 0x438618
mov eax, dword [ebp - 0x44]
add eax, dword [ebx + 0x20]
mov dword [ebp - 0x44], eax
jmp 0x438500
sbb eax, eax
or eax, 1
jmp 0x438466
sbb eax, eax
or eax, 1
jmp 0x4384b6
mov ebx, dword [ecx + 0x10]
jmp 0x4383eb
mov eax, edi
sub eax, dword [ecx + 0x1c]
cmp byte [0x5a2ee5], 0
mov dword [ecx + 0x24], eax
jne 0x438759
cmp ecx, dword [ebp - 0x40]
je 0x49dd10
mov ebx, dword [ebp - 0x18]
jmp 0x438360
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [eax]
mov dword [esi + 0x10], eax
mov ecx, dword [ecx]
mov dword [esi + 0x24], ecx
test edx, edx
jne 0x4386d7
test ebx, ebx
jne 0x4386d7
cmp byte [ebp - 0x22], bl
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
je 0x4382a0
jmp 0x49ddd0
add eax, ecx
jmp 0x438395
add dword [esi + 8], ecx
add ebx, ecx
add dword [esi + 0x20], ecx
mov edi, eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x20]
add ebx, ecx
mov dword [ebp - 0x1c], edi
add dword [eax + 0x24], ecx
mov dword [ebp - 0x20], ebx
jmp 0x4383a2
mov edi, dword [ebp - 0x38]
add ebx, edx
sub edi, eax
mov dword [esi + 0x1c], ebx
mov dword [ebp - 0x38], edi
xor edx, edx
lea eax, [ecx + edi]
mov dword [esi + 0x14], eax
lea ecx, [ebx - 1]
mov esi, dword [ebp - 0x10]
mov eax, ecx
mov edi, dword [esi + 0x78]
div edi
mov eax, dword [ebp - 0x28]
sub edi, edx
add edi, ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x18], edi
cmp ecx, 0x40
jne 0x438922
cmp eax, dword [0x5a2eec]
je 0x43873e
add dword [esi + 0x5c], edi
cmp eax, dword [0x5a2eec]
je 0x43873e
mov esi, dword [eax + 0x18]
xor edx, edx
mov eax, dword [ebp - 0x10]
dec esi
mov ecx, dword [eax + 0x74]
mov eax, esi
div ecx
mov eax, dword [ebp + 8]
sub esi, edx
add esi, ecx
add dword [eax], esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
mov ebx, dword [ebp - 0x10]
jne 0x438933
mov dword [eax + 0x20], edi
mov eax, dword [ebp + 0xc]
add dword [eax], edi
jmp 0x43829a
cmp dword [ecx + 0x24], 0
je 0x438670
push 0x401bd8
push dword [ecx]
call dword [ebp - 0x60]
add esp, 8
test eax, eax
je 0x438670
mov ebx, dword [ebp - 0x50]
push 0x404640
push dword [ebx]
call dword [ebp - 0x60]
add esp, 8
test eax, eax
je 0x438670
push 7
push 0x402e0c
push dword [ebx]
call dword [ebp - 0x34]
add esp, 0xc
test eax, eax
je 0x438670
push 7
push 0x401c68
push dword [ebx]
call dword [ebp - 0x34]
add esp, 0xc
test eax, eax
je 0x438670
push 7
push 0x4044dc
push dword [ebx]
call dword [ebp - 0x34]
add esp, 0xc
test eax, eax
je 0x438670
mov ecx, ebx
call fcn.004774d3
test al, al
jne 0x49dd34
cmp ebx, dword [ebp - 0x40]
je 0x49dd3c
mov eax, dword [ebx + 0x24]
sub eax, dword [ebp - 0x44]
cmp dword [ebp - 0x30], 0x20
je 0x4389ca
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
cmp ebx, dword [ebp - 0x7c]
je 0x49dd64
shl ecx, 2
mul ecx
mov edi, edx
shr edi, 5
add edi, 0x100
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x40]
je 0x49dd7f
mov ecx, dword [ebp - 0x44]
cmp edi, ecx
jbe 0x49dd78
sub edi, ecx
add dword [esi + 0x20], edi
add dword [esi + 8], edi
add dword [eax + 0x24], edi
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add ebx, edi
add eax, edi
mov dword [ebp - 0x18], ebx
add dword [ebp - 0x20], edi
mov edi, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], eax
jmp 0x438360
cmp ecx, 0x20
je 0x43832a
mov byte [ebp - 0x21], 1
mov dword [edx + 0x8c4], edi
jmp 0x43832a
cmp byte [ebp - 0x23], 0
jne 0x49de5b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test dword [edx + 0x148], 0x40000000
jne 0x43833b
cmp byte [0x5a4e54], 0
mov eax, dword [edx + 0x8f4]
jne 0x49dbc9
lea esi, [eax + eax]
mov dword [ecx + 0x18], esi
mov eax, dword [edx + 0x68]
mov edx, edi
and eax, 0xfffff000
sub edx, eax
mov eax, dword [ebp - 0x10]
add edx, 0xfff
shr edx, 0xc
mov eax, dword [eax + 0x8f4]
cmp edx, eax
ja 0x49dbd8
cmp byte [0x5a2ee5], 0
lea eax, [edx + edx*4]
lea eax, [esi + eax*2]
mov dword [ecx + 0x18], eax
jne 0x438a08
mov edx, dword [ebp - 0x10]
mov ecx, edx
call fcn.00477c8f
mov ecx, dword [0x5a2fec]
add dword [ecx + 0x18], eax
add ebx, dword [ecx + 0x18]
add edi, dword [ecx + 0x18]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
jmp 0x43833b
sub ecx, 0x20
jne 0x49ddde
add dword [esi + 0x58], edi
jmp 0x43871a
mov edi, dword [ebx + 0x78]
dec ecx
xor edx, edx
mov eax, ecx
div edi
mov eax, dword [ebp - 0x28]
sub edi, edx
add edi, ecx
jmp 0x43874c
mov eax, dword [ebp - 0x50]
cmp eax, dword [0x5a30ac]
jne 0x438360
mov dword [ebp - 0x70], fcn.0045253a
mov dword [ebp - 0x6c], 0x478d10
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
call fcn.0045253a
test al, al
je 0x438360
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 8]
add eax, eax
shr eax, 4
add dword [ecx + 0x9a4], eax
jmp 0x438970
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebx + 4]
shr ecx, 0x14
and ecx, 0xf
mov edx, dword [esi + 0xaf0]
mov eax, edx
and eax, 0xf
cmp ecx, eax
jbe 0x4384d7
mov eax, edx
xor eax, ecx
and eax, 0xf
xor eax, edx
mov dword [esi + 0xaf0], eax
jmp 0x4384d7
imul ecx, eax, 0x19
mov eax, 0x51eb851f
mul ecx
mov edi, edx
shr edi, 5
add edi, 0x1000
jmp 0x43881e
movzx ecx, word [ebx + 0x40]
lea eax, [ebx + 0x40]
mov dword [ebp - 0x2c], eax
call fcn.00458469
mov byte [ebp - 0x11], al
mov byte [0x5a2ef8], al
test al, al
je 0x438222
jmp 0x43822c
mov esi, dword [ebp - 0x1c]
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, 0x51eb851f
mul ecx
mov eax, dword [ebp - 0x10]
mov ebx, edx
mov edx, 4
shr ebx, 5
sub ebx, 0xffffff80
mov edi, dword [eax + 0x68]
sub esi, edi
add esi, 0xfff
shr esi, 0xc
mov ecx, esi
call fcn.0044fc74
mov edx, dword [ebp - 0x10]
and edi, 0xfffff000
mov dword [edx + 0x9c0], eax
mov eax, ebx
shr eax, 1
mov dword [edx + 0x9cc], eax
mov eax, dword [0x5a2fec]
mov dword [edx + 0x9c8], edi
mov edi, dword [ebp - 0x1c]
mov dword [edx + 0x9c4], esi
add dword [eax + 0x18], ebx
mov ebx, dword [ebp - 0x18]
jmp 0x4388fe
movzx ecx, word [edi]
mov dword [ebp - 0x2c], edi
call fcn.00458469
test al, al
je 0x438201
mov edx, 4
lea ecx, [edx + 1]
call fcn.00455ce8
test byte [0x5a4e00], 2
je 0x49daac
sub esp, 8
mov ecx, 0x425dc0
call fcn.004d9cf3
mov ecx, ebx
call fcn.0050e767
test byte [0x5a4e00], 2
je 0x49dac9
sub esp, 8
mov ecx, 0x425db0
call fcn.004d9cf3
mov ecx, 5
call fcn.00453ba7
mov byte [ebp - 0x11], 0
mov byte [0x5a2ef8], 1
jmp 0x43822c
call fcn.0050d9ce
mov ecx, ebx
mov esi, eax
call fcn.00518783
cmp eax, esi
jb 0x438214
mov byte [ebp - 0x11], 1
mov byte [0x5a2ef8], 1
jmp 0x43822c
mov edi, dword [edi + 4]
test byte [edi + 0x38], 8
je 0x49db1c
mov edx, dword [ebp + 8]
mov esi, dword [edi + 0x10]
mov ebx, dword [edx]
jmp 0x49db30
mov ebx, dword [esi]
xor edx, edx
lea esi, [ebx - 1]
mov eax, esi
div dword [edi + 0x30]
sub esi, edx
mov edx, dword [ebp + 8]
add esi, dword [edi + 0x30]
cmp ebx, esi
jne 0x49db55
mov eax, dword [ebp - 0x28]
or ecx, 0x800
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 0x23], 1
mov dword [eax + 0x28], ecx
mov eax, 0xffff
add word [ebx + 0x42], ax
jmp 0x43829a
ja 0x49ddf4
mov edi, dword [ebp - 0x28]
sub esi, ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x10]
mov dword [eax + 8], esi
mov ecx, dword [edi + 0x28]
jmp 0x4382da
mov ecx, dword [edx]
xor edx, edx
dec ecx
mov eax, ecx
div esi
sub ecx, edx
cmp byte [0x5a4efa], 0
mov edx, dword [ebp + 8]
lea eax, [ecx + esi]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x30]
mov dword [edx], eax
je 0x4382f1
mov dword [esi], eax
jmp 0x4382f1
mov esi, dword [edi + 0x10]
cmp dword [edx], esi
ja 0x49de13
mov dword [edx], esi
mov esi, dword [ebp + 0xc]
jmp 0x4382fb
test byte [edi + 0x38], 4
mov byte [ebp - 0x5c], 1
je 0x438313
jmp 0x43830f
neg eax
sbb eax, eax
and eax, 8
mov dword [ecx + 0x18], eax
jmp 0x4388fe
mov edx, eax
jmp 0x4388e5
test dword [edx + 0x148], 0x10000000
je 0x4383bf
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x50], eax
jne 0x4383bf
add edi, 0x1800
add ecx, 0x1800
add ebx, 0x1800
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ebx
jmp 0x4383bf
mov eax, dword [ebx + 0x10]
cmp eax, dword [esi + 0x9ec]
je 0x4384e9
test dword [ebx + 4], 0x1000000
mov esi, dword [ebx + 0x24]
je 0x49dc37
dec esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0xa64e
cmp word [eax], cx
jne 0x49dc5f
mov eax, dword [ebx + 0x44]
shr eax, 4
test al, 1
je 0x49dc5f
mov edi, 0xc
mov ecx, 0x8664
mov ebx, 0xa64e
jmp 0x49dc7a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x9b4]
call fcn.0052f145
mov edi, eax
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov dword [ebp - 0x74], ecx
mov ebx, ecx
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov eax, dword [eax + 8]
div edi
mov edi, eax
test edx, edx
jne 0x49de32
call fcn.00518431
imul eax, edi
cmp eax, esi
jb 0x49de32
mov esi, dword [ebp - 0x10]
mov eax, 0xa64e
cmp bx, ax
mov ebx, dword [ebp - 0x3c]
jne 0x49dcc1
mov eax, dword [ebx + 0x44]
shr eax, 4
test al, 1
je 0x49dcc1
mov eax, dword [esi + 0x9b4]
add dword [eax + 8], edi
mov edi, dword [ebp - 0x1c]
jmp 0x4384e9
cmp dword [ebp - 0x30], 0x20
jne 0x4384f3
push ebx
mov ecx, esi
call fcn.0051e06c
jmp 0x4384f3
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x2c], eax
jmp 0x438527
mov ecx, ebx
call fcn.0050e386
mov ecx, dword [ebp - 0x18]
test al, al
je 0x438552
cmp edx, 8
jae 0x438552
mov edx, 8
jmp 0x438552
mov ecx, dword [edx + 0x9b4]
push eax
call fcn.0052fd6d
cmp byte [0x5a2ee5], 0
mov ebx, dword [ebp - 0x18]
je 0x438360
mov ecx, dword [ebp - 0x50]
jmp 0x438759
mov ebx, dword [ebp - 0x18]
jmp 0x438360
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x9b4]
call fcn.0052f145
mov edx, dword [ebp - 0x50]
imul ecx, eax, 0x19
mov eax, 0xcccccccd
mul dword [edx + 0x24]
mov edi, edx
shr edi, 3
add edi, ecx
jmp 0x438821
add ecx, ecx
mul ecx
mov edi, edx
shr edi, 5
add edi, 0x200
jmp 0x43881e
xor edi, edi
jmp 0x43883a
cmp edi, 0xffff
jbe 0x49dd8c
mov edi, 0xffff
mov ecx, dword [ebx + 0x9b4]
call fcn.0052f145
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov ecx, dword [ebx + 0x9b4]
mov esi, eax
call fcn.0052f145
mov ecx, dword [ebx + 0x9b4]
mov edi, eax
mov eax, dword [ebp - 0x50]
imul edi, esi
mov eax, dword [eax + 0x24]
add eax, edi
push eax
call fcn.0052fd6d
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
jmp 0x43883a
mov eax, 0xffff
add word [ebx + 0x42], ax
jmp 0x4382a0
sub ecx, 0x60
jne 0x43871a
add dword [esi + 0x60], edi
xor edi, edi
mov dword [eax + 0x24], edi
jmp 0x43871a
mov ecx, dword [edi]
call fcn.0044efd9
mov dword [ebp + 8], eax
push esi
push eax
push 0x536
push 0
mov dword [ebp - 4], 0
call fcn.0047dc0b
mov ecx, dword [edi]
call fcn.0044efd9
mov dword [ebp + 8], eax
push esi
push eax
push 0x536
push 0
mov dword [ebp - 4], 1
call fcn.0047dc0b
push 0x4c7
push dword [ebp - 0x3c]
call fcn.004dedcb
cmp edi, ecx
ja 0x49de45
mov edi, ecx
xor eax, eax
add edi, edx
push 0xffffffffffffffff
adc eax, eax
push eax
push edi
push 0x4e0
push 0
call fcn.0047dc0b
mov eax, dword [0x5a2f8c]
mov ecx, ebx
push 0
call eax
mov esi, dword [ebx + 0x78]
xor edx, edx
lea ecx, [eax - 1]
mov eax, ecx
div esi
sub esi, edx
add esi, ecx
mov dword [ebx + 0x90], esi
jmp 0x438882