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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push 0x148
lea edi, [esi + 4]
push 0xff
push edi
call sub.MSVCR100.dll_memset
mov ecx, 0x10
mov word [esi + 0xc], cx
xor ecx, ecx
mov word [esi + 0xe], cx
xor edx, edx
mov ecx, 0xf
mov word [esi + 0x10], cx
xor ecx, ecx
add esp, 0xc
xor ebx, ebx
mov word [esi + 0x1c], bx
mov ebx, 0x10
mov word [esi + 0x34], bx
mov word [esi + 0x36], bx
mov ebx, 0x1f
mov word [esi + 0x38], bx
mov ebx, 0x10
mov word [esi + 0x3a], bx
mov ebx, 0x11
mov word [esi + 0x3c], bx
mov ebx, 0x20
mov word [esi + 0x5c], bx
mov word [esi + 0x5e], bx
mov ebx, 0x3f
mov word [esi + 0x60], bx
mov ebx, 0x30
mov word [esi + 0x62], bx
mov ebx, 0x31
mov word [esi + 0x64], bx
mov ebx, 0x40
mov word [esi + 0x6e], bx
mov ebx, 0x1b0
mov word [esi + 0x84], bx
mov ebx, 0x40
mov word [esi + 0x86], bx
mov ebx, 0x1ef
mov word [esi + 0x88], bx
mov ebx, 0x71
mov word [esi + 0x8a], bx
mov ebx, 0x72
mov word [esi + 0x8c], bx
mov ebx, 0xd0
mov word [esi + 0x8e], bx
mov ebx, 0x41
mov al, 2
mov word [esi + 0x12], cx
mov word [esi + 0x14], cx
mov word [esi + 0x16], cx
mov ecx, 1
mov word [esi + 0x94], bx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], edx
mov byte [edi], 7
mov byte [esi + 5], al
mov byte [esi + 0xa], dl
mov dword [esi + 0x18], 0x1010101
mov byte [esi + 0x22], cl
mov byte [esi + 0x25], cl
mov byte [esi + 0x28], dl
mov dword [esi + 0x3e], 0x2020000
mov dword [esi + 0x42], 0x100100
mov byte [esi + 0x4a], cl
mov byte [esi + 0x4d], al
mov word [esi + 0x50], 0x100
mov dword [esi + 0x66], 0x2020070
mov dword [esi + 0x6a], 0x200203
mov word [esi + 0x72], 0x201
mov word [esi + 0x78], 0x100
mov word [esi + 0x75], 0x202
mov word [esi + 0x7b], 0x102
mov dword [esi + 0x90], 0x2030303
mov ebx, 0x80
mov word [esi + 0x96], bx
mov ebx, 0x10
mov word [esi + 0xac], bx
mov ebx, 0x1f0
mov word [esi + 0xae], bx
mov ebx, 0x1ff
mov word [esi + 0xb0], bx
mov ebx, 0x581
mov word [esi + 0xb2], bx
mov ebx, 0x582
mov word [esi + 0xb4], bx
mov ebx, 0x5e0
mov word [esi + 0xb6], bx
mov ebx, 0x3a1
mov word [esi + 0xbc], bx
mov word [esi + 0x9a], 0x202
mov word [esi + 0xa0], 0x100
mov word [esi + 0x9d], 0x202
mov word [esi + 0xa3], 0x102
mov dword [esi + 0xb8], 0x2020303
mov ebx, 0x3e0
mov word [esi + 0xbe], bx
mov word [esi + 0xc2], 0x202
mov word [esi + 0xc8], 0x100
mov word [esi + 0xc5], 0x202
mov word [esi + 0xcb], 0x102
mov ebx, 0x10
mov word [esi + 0xd4], bx
mov ebx, 0x200
mov word [esi + 0xd6], bx
mov ebx, 0x20f
mov word [esi + 0xd8], bx
mov ebx, 0x5b1
mov word [esi + 0xda], bx
mov ebx, 0x5b2
mov word [esi + 0xdc], bx
xor ebx, ebx
mov word [esi + 0xde], bx
mov word [esi + 0xe0], 0x303
mov dword [esi + 0xe2], 0x3c10100
mov byte [esi + 0xea], al
mov byte [esi + 0xed], al
mov word [esi + 0xf0], 0x100
mov ebx, 0x10
mov word [esi + 0xfc], bx
mov ebx, 0x210
mov word [esi + 0xfe], bx
mov ebx, 0x21f
mov word [esi + 0x100], bx
mov ebx, 0x5e1
mov word [esi + 0x102], bx
xor ebx, ebx
mov word [esi + 0x104], bx
mov word [esi + 0x106], bx
mov word [esi + 0x108], 0x202
mov dword [esi + 0x10a], 0x3e10102
mov byte [esi + 0x112], al
mov byte [esi + 0x115], cl
mov byte [esi + 0x118], dl
cmp byte [edi], dl
jbe 0x485d8c
movzx edx, byte [edi]
mov di, word [ebp - 0xc]
lea eax, [esi + 0xc]
mov dword [ebp - 8], edx
lea ecx, [ecx]
movzx edx, word [eax]
movzx ebx, byte [eax + 0xf]
add dword [ebp - 4], edx
imul bx, dx
add di, bx
add eax, 0x28
sub dword [ebp - 8], ecx
jne 0x485d60
mov ax, word [ebp - 4]
mov word [esi + 6], di
pop edi
mov word [esi + 8], ax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [ebp - 0xc]
mov dx, word [ebp - 4]
mov word [esi + 6], cx
pop edi
mov word [esi + 8], dx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret