Function at 0x45f850
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x70d55b
push eax
mov eax, 0x1928
mov dword fs:[0], esp
call fcn.00450100
mov eax, dword [0x77a8e8]
push ebx
push ebp
push esi
xor esi, esi
push edi
lea ecx, [esp + 0x91c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], esi
call fcn.005b3900
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x18]
mov ebp, dword [esp + 0x1948]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x48]
mov edx, dword [esp + 0x1950]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [ebp + 0x20]
mov ecx, 0x113
xor eax, eax
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x110
xor eax, eax
lea edi, [esp + 0x4e0]
mov dword [esp + 0x1944], esi
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0xac]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0x18], esi
push ecx
push edx
mov word [esp + 0x28], 0x14
mov word [esp + 0x2a], 8
call fcn.0045f180
add esp, 0xc
lea eax, [esp + 0xdc]
lea ecx, [esp + 0xdc]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharToOemA]
lea edx, [esp + 0xdc]
push edx
call fcn.005b9400
mov esi, dword [esp + 0x1950]
push esi
call fcn.005b15e0
add esp, 8
cmp eax, 0xffffffff
jne 0x45f96f
lea ecx, [esp + 0x91c]
mov dword [esp + 0x1940], eax
call fcn.005b3920
mov eax, 0xfffffffb
jmp 0x4604f5
mov ecx, eax
lea ebx, [ebp + 0x22]
and ecx, 0x37
test al, 0x10
mov word [ebx], ax
mov dword [esp + 0x6e], ecx
je 0x45fa85
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x45f9ba
lea ecx, [esp + 0x91c]
mov dword [esp + 0x1940], 0xffffffff
call fcn.005b3920
mov eax, 0xffffffec
jmp 0x4604f5
cmp byte [esp + ecx + 0xdb], 0x2f
je 0x45f9de
lea edx, [esp + 0xdc]
push 0x400
push edx
push 0x77b5fc
call fcn.005be710
add esp, 0xc
push ebx
push esi
call fcn.0045f1e0
lea eax, [esp + 0x2a]
lea ecx, [esp + 0x2c]
push eax
lea edx, [ebp + 0x3c]
push ecx
push edx
call fcn.005c14d0
add esp, 0x14
mov word [esp + 0x52], 0
mov byte [ebp + 0x490], 0
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
lea edi, [ebp + 0x24]
dec ecx
push edx
push edi
mov word [esp + 0x3a], cx
call fcn.0045f260
add esp, 8
cmp word [esp + 0x52], 0
mov dword [esp + 0x2e], eax
jne 0x45fa6f
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, eax
or ecx, edi
je 0x45fa6f
mov edx, dword [esp + 0x14]
xor ecx, ecx
add edx, eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x10]
adc ecx, edi
push edx
push eax
mov dword [esp + 0x4c], ecx
call fcn.0045f260
add esp, 8
mov dword [esp + 0x2a], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45fe4f
mov edi, 0xfffffff5
jmp 0x460432
push esi
lea ecx, [esp + 0x920]
call fcn.005b3a90
test eax, eax
jne 0x45fe45
lea eax, [ebp + 0x24]
lea ecx, [esp + 0x91c]
push eax
call fcn.005b3d00
lea edi, [ebp + 0x3c]
lea ecx, [ebp + 0x34]
push edi
lea edx, [ebp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x928]
call fcn.005b3ef0
lea eax, [esp + 0x22]
lea ecx, [esp + 0x24]
push eax
push ecx
push edi
call fcn.005c14d0
mov al, byte [ebp + 0x4e5]
lea edx, [ebp + 0x4e5]
add esp, 0xc
test al, al
je 0x45fe07
mov ecx, dword [ebp + 4]
inc word [esp + 0x1e]
mov eax, dword [ecx + 0x1e]
mov esi, eax
and esi, 0xff0000
cmp esi, 0x60000
jbe 0x45fb0c
and eax, 0xff00ffff
mov dword [ecx + 0x1e], eax
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x1e]
test eax, 0xff0000
je 0x45fb24
shr eax, 0x10
mov byte [ebp + 0x490], al
jmp 0x45fb2b
mov byte [ebp + 0x490], 1
mov bl, byte [ebp + 0x490]
mov ecx, ebx
and ecx, 0xff
lea eax, [ecx - 2]
cmp eax, 3
ja case.default.0x45fb41
jmp dword [eax*4 + 0x460510]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x20
jge 0x45fb66
mov eax, 1
mov byte [ebp + 0x4e4], al
jmp case.default.0x45fb41
xor eax, eax
cmp ecx, 0x30
setge al
add eax, 2
mov byte [ebp + 0x4e4], al
jmp case.default.0x45fb41
mov byte [ebp + 0x4e4], 1
jmp case.default.0x45fb41
mov byte [ebp + 0x4e4], 2
jmp case.default.0x45fb41
mov byte [ebp + 0x4e4], 3
cmp bl, 1
je 0x45fc82
jbe 0x45fe0e
cmp bl, 5
ja 0x45fe0e
lea eax, [esp + 0x98]
push 1
push eax
mov al, byte [ebp + 0x4e4]
lea ecx, [esp + 0x84]
push ecx
push eax
push edx
call fcn.0047d500
mov cl, byte [ebp + 0x4e4]
add esp, 0x14
and ecx, 3
mov dword [ebp + 0x4e0], eax
test eax, eax
lea ebx, [ecx*4 + 4]
je 0x45fe0e
mov eax, dword [ebp + 0x4a0]
lea esi, [ebx + 2]
test eax, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 1
je 0x45fc1e
cmp dword [ebp + 0x4a4], esi
jae 0x45fc1e
push eax
call fcn.0044f656
add esp, 4
mov dword [ebp + 0x4a0], 0
mov eax, dword [ebp + 0x4a0]
test eax, eax
jne 0x45fc40
lea edx, [esi + esi]
push edx
call fcn.0044f661
add esp, 4
mov dword [ebp + 0x4a0], eax
mov dword [ebp + 0x4a4], esi
mov edi, dword [ebp + 0x4a0]
test edi, edi
je 0x45fe0e
mov ecx, ebx
lea esi, [esp + 0x7c]
mov eax, ecx
mov edx, dword [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x14], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x4a0]
mov cx, word [esp + 0x98]
add ebx, eax
mov word [ebx], cx
jmp 0x45fe0e
test edx, edx
mov dword [ebp + 0x494], 0x12345678
mov dword [ebp + 0x498], 0x23456789
mov dword [ebp + 0x49c], 0x34567890
je 0x45fd1b
mov al, byte [edx]
test al, al
je 0x45fd1b
mov ecx, dword [ebp + 0x494]
mov byte [esp + 0x3c], al
mov esi, dword [esp + 0x3c]
mov eax, ecx
and eax, 0xff
and esi, 0xff
xor eax, esi
shr ecx, 8
mov eax, dword [eax*4 + 0x775df4]
xor eax, ecx
mov ecx, dword [ebp + 0x498]
mov dword [ebp + 0x494], eax
and eax, 0xff
add eax, ecx
mov ecx, dword [ebp + 0x49c]
imul eax, eax, 0x8088405
inc eax
mov esi, ecx
mov dword [ebp + 0x498], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
shr ecx, 8
mov eax, dword [eax*4 + 0x775df4]
xor eax, ecx
inc edx
mov dword [ebp + 0x49c], eax
jne 0x45fca4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
push esi
call fcn.006f9ad6
add esp, 4
xor edi, edi
call fcn.006f9ae3
sar eax, 7
mov byte [esp + edi + 0x8c], al
inc edi
cmp edi, 0xc
jl 0x45fd36
xor ecx, ecx
xor esi, esi
mov cl, byte [esp + 0x23]
mov byte [esp + 0x97], cl
mov ecx, dword [ebp + 0x49c]
mov dl, byte [esp + esi + 0x8c]
mov eax, ecx
mov byte [esp + 0x14], dl
and eax, 0xfffd
mov edi, dword [esp + 0x14]
or al, 2
and edi, 0xff
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
movsx ebx, dl
mov edx, dword [ebp + 0x494]
mov eax, edx
and eax, 0xff
xor eax, edi
mov edi, dword [ebp + 0x498]
shr edx, 8
mov eax, dword [eax*4 + 0x775df4]
xor eax, edx
mov edx, ecx
mov dword [ebp + 0x494], eax
and eax, 0xff
add eax, edi
and edx, 0xff
imul eax, eax, 0x8088405
inc eax
mov dword [ebp + 0x498], eax
shr eax, 0x18
xor eax, edx
mov dl, byte [esp + 0x14]
shr ecx, 8
mov eax, dword [eax*4 + 0x775df4]
xor bl, dl
xor eax, ecx
mov byte [esp + esi + 0x8c], bl
inc esi
mov dword [ebp + 0x49c], eax
cmp esi, 0xc
jl 0x45fd5a
mov dword [esp + 0x14], 0xc
jmp 0x45fe0e
mov byte [ebp + 0x490], 0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x45fe39
mov ecx, dword [esp + 0x194c]
push ecx
call fcn.0047d1b0
add esp, 4
neg ax
sbb eax, eax
and al, 0xf8
add eax, 8
mov word [esp + 0x52], ax
jmp 0x45fa09
mov word [esp + 0x52], 0
jmp 0x45fa09
mov edi, 0xfffffffb
jmp 0x460432
mov ecx, dword [ebp + 0x18]
lea ebx, [ebp + 0x18]
lea eax, [ebp + 0x54]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [eax + 4], edx
call fcn.0045f260
mov dword [esp + 0x7a], eax
mov eax, dword [esp + 0x18]
xor esi, esi
add esp, 8
cmp eax, esi
je 0x45fe86
mov edi, 0xfffffff5
jmp 0x460432
cmp dword [esp + 0x38], esi
je 0x45feb7
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x52]
mov al, byte [ebp + 0x4e4]
and ecx, 0xffff
push edx
push eax
lea edx, [esp + ecx + 0x4e4]
push edx
call fcn.0045f3a0
add esp, 0xc
add word [esp + 0x34], ax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x18]
push 0x1e
push eax
push esi
mov dword [esp + 0x24], 0x4034b50
call fcn.005b3bd0
mov edi, eax
cmp edi, esi
jne 0x45ff18
mov ecx, dword [esp + 0x32]
lea edx, [esp + 0xdc]
and ecx, 0xffff
push ecx
mov ecx, dword [ebp + 8]
push edx
push esi
call fcn.005b3bd0
mov edi, eax
cmp edi, esi
jne 0x45ff18
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x4dc]
and eax, 0xffff
push eax
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.005b3bd0
mov edi, eax
cmp edi, esi
je 0x45ff28
jle 0x460432
mov edi, 0xfffffff9
jmp 0x460432
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x32]
and edx, 0xffff
and eax, 0xffff
lea eax, [edx + eax + 0x1e]
mov edx, dword [ebx]
add edx, eax
mov al, byte [ebp + 0x22]
mov dword [ebx], edx
mov ecx, dword [ebx + 4]
adc ecx, esi
mov dword [ebx + 4], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebp + 0x64], ecx
test al, 0x10
mov dword [ebp + 0x68], edx
jne 0x4600ea
mov al, byte [ebp + 0x490]
cmp al, 1
je 0x45ff98
jbe 0x45ffe1
cmp al, 5
ja 0x45ffe1
cmp dword [esp + 0x38], esi
je 0x45ffe1
mov eax, dword [ebp + 0x4a0]
cmp eax, esi
je 0x45ffe1
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
push edi
push eax
push esi
call fcn.005b3bd0
cmp eax, esi
je 0x45ffd3
jmp 0x45ffb2
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x8c]
push edi
push eax
push esi
call fcn.005b3bd0
cmp eax, esi
je 0x45ffd3
lea ecx, [esp + 0x91c]
mov dword [esp + 0x1940], 0xffffffff
call fcn.005b3920
mov eax, 0xfffffff9
jmp 0x4604f5
mov ecx, dword [ebx]
add ecx, edi
mov dword [ebx], ecx
mov eax, dword [ebx + 4]
adc eax, esi
mov dword [ebx + 4], eax
cmp word [esp + 0x52], 8
jne 0x460043
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ebp + 0x478], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x47c], edx
lea eax, [esp + 0x91c]
push ebp
lea edx, [esp + 0x22]
push ecx
mov dword [ebp + 0x480], eax
push edx
push 0x45f7b0
lea eax, [ebp + 0x470]
push 0x45f6d0
push eax
mov dword [ebp + 0x48c], esi
call fcn.0045f090
mov edi, eax
add esp, 0x18
cmp edi, esi
jne 0x46007e
mov ecx, dword [ebp + 0x48c]
mov dword [esp + 0x26], ecx
jmp 0x46007e
lea edx, [esp + 0x26]
lea eax, [esp + 0x91c]
push edx
push eax
push ebp
call fcn.0045f540
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x460432
mov eax, dword [ebp + 0x14]
cmp eax, 2
ja 0x460072
or byte [esp + 0x1e], 4
jmp 0x46007c
cmp eax, 8
jb 0x46007c
or byte [esp + 0x1e], 2
xor esi, esi
mov al, byte [ebp + 0x490]
cmp al, 2
jb 0x4600ea
cmp al, 5
ja 0x4600ea
mov eax, dword [ebp + 0x4e0]
cmp eax, esi
je 0x4600ea
lea ecx, [esp + 0x98]
push ecx
push eax
call fcn.0047d5c0
mov ecx, dword [ebp + 8]
add esp, 8
lea edx, [esp + 0x98]
mov dword [ebp + 0x4e0], esi
push 0xa
push edx
push esi
call fcn.005b3bd0
mov edi, eax
cmp edi, esi
je 0x4600d0
mov edi, 0xfffffff9
jmp 0x460432
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
add edx, 0xa
add ecx, 0xa
mov dword [ebx], ecx
mov eax, dword [ebx + 4]
adc eax, esi
mov dword [esp + 0x14], edx
mov dword [ebx + 4], eax
cmp edi, esi
jne 0x460432
mov eax, dword [ebp + 0x44]
mov edi, dword [ebx]
lea esi, [ebp + 0x44]
add edi, eax
mov dword [ebx], edi
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 4]
adc edx, ecx
xor edi, edi
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x14]
add edx, eax
mov eax, 0xfff7
adc edi, ecx
mov cl, byte [esp + 0x1e]
mov dword [esi], edx
mov dword [esi + 4], edi
test cl, 1
jne 0x46012b
and word [esp + 0x1e], ax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x460149
and word [esp + 0x1e], ax
mov word [esp + 0x20], 0x63
mov dword [esp + 0x26], 0
jmp 0x460153
mov ax, word [esp + 0x52]
mov word [esp + 0x20], ax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4602a4
cmp byte [ebp + 0x490], 1
jne 0x4602a4
mov edx, dword [esi + 4]
mov ecx, dword [0x77a8ec]
mov eax, dword [esi]
cmp edx, ecx
ja 0x4602a4
jb 0x46018d
cmp eax, dword [0x77a8e8]
jae 0x4602a4
mov edi, dword [ebp + 0x28]
cmp edi, ecx
ja 0x4602a4
jb 0x4601ab
mov ecx, dword [ebp + 0x24]
mov edi, dword [0x77a8e8]
cmp ecx, edi
jae 0x4602a4
mov ecx, dword [esp + 0x2a]
xor edi, edi
cmp ecx, eax
jne 0x4601b9
cmp edi, edx
je 0x46021a
mov edx, dword [esp + 0x26]
mov ecx, dword [esp + 0x2e]
mov eax, dword [esi]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x7c]
push 0x10
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 8]
push edx
push 0
mov dword [esp + 0x88], 0x8074b50
mov dword [esp + 0x90], eax
call fcn.005b3bd0
mov edi, eax
test edi, edi
je 0x46020a
jle 0x460432
mov edi, 0xfffffff9
jmp 0x460432
mov ecx, dword [ebx]
add ecx, 0x10
mov dword [ebx], ecx
mov eax, dword [ebx + 4]
adc eax, 0
mov dword [ebx + 4], eax
mov eax, dword [esi]
mov dword [esp + 0x2a], eax
mov ecx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x54]
lea edx, [esp + 0x40]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 8]
push edx
mov dword [esp + 0x44], eax
call fcn.005b3e20
mov edi, eax
test edi, edi
jne 0x460298
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x18]
push 0x1e
push eax
push edi
call fcn.005b3bd0
mov edi, eax
test edi, edi
jne 0x460298
mov ecx, dword [esp + 0x32]
lea edx, [esp + 0xdc]
and ecx, 0xffff
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
call fcn.005b3bd0
mov edi, eax
test edi, edi
jne 0x460298
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x4dc]
and eax, 0xffff
push eax
push ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.005b3bd0
mov edi, eax
test edi, edi
jle 0x4602ef
mov edi, 0xfffffff9
jmp 0x460432
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x10]
and eax, 0xffff
push ecx
push esi
mov edi, eax
call fcn.0045f260
mov dword [esp + 0x32], eax
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4602d3
mov edi, 0xfffffff5
jmp 0x460432
mov edx, dword [esp + 0x34]
and edx, 0xffff
cmp edi, edx
je 0x460220
mov edi, 0xfffffff9
jmp 0x460432
jne 0x460432
mov ax, word [esp + 0x1c]
mov cx, word [esp + 0x24]
mov dx, word [esp + 0x1e]
mov word [esp + 0x4c], ax
mov word [esp + 0x4e], ax
mov ax, word [esp + 0x22]
mov word [esp + 0x56], cx
lea ecx, [esp + 0x10]
mov word [esp + 0x50], dx
mov edx, dword [esp + 0x26]
mov word [esp + 0x54], ax
mov ax, word [esp + 0x32]
push ecx
push esi
mov dword [esp + 0x60], edx
mov word [esp + 0x6c], ax
call fcn.0045f260
mov dword [esp + 0x64], eax
lea edx, [esp + 0x18]
lea eax, [ebp + 0x24]
push edx
push eax
call fcn.0045f260
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x46038a
lea eax, [ebp + 0x20]
push 1
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.0045f300
mov word [esp + 0x72], ax
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4603bc
mov eax, dword [esp + 0x66]
mov ecx, dword [esp + 0x52]
mov dl, byte [ebp + 0x4e4]
and eax, 0xffff
push ecx
push edx
lea ecx, [esp + eax + 0xb0]
push ecx
call fcn.0045f3a0
add esp, 0xc
add word [esp + 0x66], ax
mov dx, word [esp + 0x20]
mov ecx, dword [ebp + 8]
push ebx
mov word [esp + 0x56], dx
call fcn.005b3e20
mov edx, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push 0x2e
or edx, eax
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], edx
mov dword [esp + 0x50], 0x2014b50
call fcn.005b74b0
mov edx, dword [esp + 0x64]
mov ecx, dword [ebp + 0xc]
and edx, 0xffff
lea eax, [esp + 0xdc]
push edx
push eax
call fcn.005b74b0
cmp word [esp + 0x66], 0
je 0x460432
mov ecx, dword [esp + 0x66]
lea edx, [esp + 0xa8]
and ecx, 0xffff
push ecx
mov ecx, dword [ebp + 0xc]
push edx
call fcn.005b74b0
mov eax, dword [ebp + 0x4e0]
xor esi, esi
cmp eax, esi
je 0x460455
lea ecx, [esp + 0x98]
push ecx
push eax
call fcn.0047d5c0
add esp, 8
mov dword [ebp + 0x4e0], esi
cmp dword [ebp + 0x10], esi
je 0x460478
lea ecx, [esp + 0x91c]
mov dword [esp + 0x1940], 0xffffffff
call fcn.005b3920
mov eax, 0xfffffff5
jmp 0x4604f5
cmp edi, esi
jne 0x4604dc
mov ebx, dword [ebp + 0x4c0]
mov ecx, dword [ebp + 0x4c8]
mov eax, 1
add ebx, eax
mov dword [ebp + 0x4c0], ebx
mov edx, dword [ebp + 0x4c4]
adc edx, esi
add ecx, eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0x4c8], ecx
mov ebx, dword [ebp + 0x4cc]
mov dword [ebp + 0x4c4], edx
adc ebx, esi
mov dword [ebp + 0x4cc], ebx
mov ecx, dword [eax + 0x2a]
cmp ecx, esi
je 0x4604dc
mov edx, dword [eax + 0x26]
add ebp, 0x24
push edx
push ebp
push esi
push 4
call ecx
add esp, 0x10
test eax, eax
je 0x4604dc
mov edi, 0xfffffff4
lea ecx, [esp + 0x91c]
mov dword [esp + 0x1940], 0xffffffff
call fcn.005b3920
mov eax, edi
mov ecx, dword [esp + 0x1938]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1934
ret