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

Disassembly:
sub esp, 0xc8
mov eax, dword [0x589758]
xor eax, esp
mov dword [esp + 0xc4], eax
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x7c], eax
test edx, edx
je 0x4964e3
push ebx
push ebp
push esi
mov esi, dword [eax]
mov dword [esp + 0x4c], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x54], esi
mov esi, dword [eax + 8]
mov dword [esp + 0x74], esi
mov esi, dword [eax + 0xc]
mov dword [esp + 0x5c], esi
mov esi, dword [eax + 0x10]
mov dword [esp + 0x80], esi
mov esi, dword [eax + 0x14]
mov dword [esp + 0x64], esi
mov esi, dword [eax + 0x18]
mov dword [esp + 0x7c], esi
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x6c], esi
mov esi, dword [eax + 0x20]
mov dword [esp + 0x48], esi
mov esi, dword [eax + 0x24]
mov dword [esp + 0x40], esi
mov esi, dword [eax + 0x28]
mov dword [esp + 0x78], esi
mov esi, dword [eax + 0x2c]
mov dword [esp + 0x50], esi
mov esi, dword [eax + 0x30]
mov dword [esp + 0x58], esi
mov esi, dword [eax + 0x34]
mov dword [esp + 0x60], esi
mov esi, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xdc]
push edi
mov dword [esp + 0x6c], esi
cmp edx, 0x40
jae 0x495d31
xor esi, esi
test edx, edx
jbe 0x495d21
mov ebp, eax
lea eax, [esp + 0x94]
sub ebp, eax
jmp 0x495d10
lea edi, [esp + esi + 0x94]
mov al, byte [edi + ebp]
inc esi
mov byte [edi], al
cmp esi, edx
jb 0x495d10
lea eax, [esp + 0x94]
mov dword [esp + 0x90], ecx
mov ecx, eax
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], 0x14
jmp 0x495db5
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
add ebx, esi
rol ebx, 7
xor edi, ebx
lea ebx, [edi + esi]
rol ebx, 9
xor edx, ebx
lea ebx, [edx + edi]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
rol ebx, 0xd
xor edx, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x20], edx
add edx, ebx
ror edx, 0xe
xor esi, edx
mov edx, dword [esp + 0x14]
lea ebx, [edx + ebp]
mov edx, dword [esp + 0x1c]
rol ebx, 7
xor edx, ebx
mov ebx, dword [esp + 0x14]
add ebx, edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x24]
rol ebx, 9
xor edx, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
add edx, ebx
rol edx, 0xd
xor ebp, edx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
add edx, ebp
ror edx, 0xe
xor dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add ebx, edx
mov edx, dword [esp + 0x2c]
rol ebx, 7
xor edx, ebx
mov ebx, dword [esp + 0x10]
add ebx, edx
rol ebx, 9
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
xor edx, ebx
mov ebx, dword [esp + 0x2c]
add ebx, edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
rol ebx, 0xd
xor edx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], edx
add edx, ebx
mov ebx, dword [esp + 0x3c]
ror edx, 0xe
xor dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
add ebx, edx
mov edx, dword [esp + 0x38]
rol ebx, 7
xor edx, ebx
mov ebx, dword [esp + 0x18]
add ebx, edx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
rol ebx, 9
xor edx, ebx
mov ebx, dword [esp + 0x38]
add ebx, edx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
rol ebx, 0xd
xor edx, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], edx
add edx, ebx
ror edx, 0xe
xor dword [esp + 0x18], edx
mov edx, dword [esp + 0x38]
add edx, esi
rol edx, 7
xor ebp, edx
mov edx, dword [esp + 0x30]
lea ebx, [esi + ebp]
rol ebx, 9
xor edx, ebx
lea ebx, [edx + ebp]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
rol ebx, 0xd
xor edx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
add edx, ebx
ror edx, 0xe
xor esi, edx
mov edx, dword [esp + 0x14]
lea ebx, [edx + edi]
mov edx, dword [esp + 0x28]
rol ebx, 7
xor edx, ebx
mov ebx, dword [esp + 0x14]
add ebx, edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x34]
rol ebx, 9
xor edx, ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
add edx, ebx
rol edx, 0xd
mov ebx, dword [esp + 0x1c]
xor edi, edx
mov edx, dword [esp + 0x34]
add edx, edi
ror edx, 0xe
xor dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add ebx, edx
mov edx, dword [esp + 0x3c]
rol ebx, 7
xor edx, ebx
mov ebx, dword [esp + 0x10]
add ebx, edx
rol ebx, 9
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x40]
xor edx, ebx
mov ebx, dword [esp + 0x3c]
add ebx, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
rol ebx, 0xd
xor edx, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
add edx, ebx
mov ebx, dword [esp + 0x2c]
ror edx, 0xe
xor dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
add ebx, edx
mov edx, dword [esp + 0x20]
rol ebx, 7
xor edx, ebx
mov ebx, dword [esp + 0x18]
add ebx, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
rol ebx, 9
xor edx, ebx
mov ebx, dword [esp + 0x20]
add ebx, edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2c]
rol ebx, 0xd
xor edx, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
add edx, ebx
ror edx, 0xe
xor dword [esp + 0x18], edx
sub dword [esp + 0x48], 2
jne 0x495db1
movzx edx, byte [eax + 3]
movzx ebx, byte [eax + 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
mov ebx, dword [esp + 0x50]
add esi, ebx
xor edx, esi
movzx esi, byte [eax + 7]
shl esi, 8
movzx ebx, byte [eax + 6]
or esi, ebx
movzx ebx, byte [eax + 5]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 4]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x58]
add ebp, ebx
xor esi, ebp
mov dword [esp + 0x48], esi
movzx esi, byte [eax + 0xb]
movzx ebx, byte [eax + 0xa]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 9]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 8]
mov ebp, dword [esp + 0x78]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x30]
add ebx, ebp
xor esi, ebx
movzx ebx, byte [eax + 0xe]
mov dword [esp + 0x30], esi
movzx esi, byte [eax + 0xf]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0xd]
mov ebp, dword [esp + 0x60]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0xc]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x38]
add ebx, ebp
xor esi, ebx
movzx ebx, byte [eax + 0x12]
mov dword [esp + 0x38], esi
movzx esi, byte [eax + 0x13]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x11]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x10]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x84]
add edi, ebx
xor esi, edi
movzx edi, byte [eax + 0x16]
mov dword [esp + 0x88], esi
movzx esi, byte [eax + 0x17]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x15]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x14]
shl esi, 8
or esi, edi
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x68]
add edi, ebx
xor esi, edi
mov dword [esp + 0x14], esi
movzx esi, byte [eax + 0x1b]
shl esi, 8
movzx edi, byte [eax + 0x1a]
or esi, edi
shl esi, 8
movzx edi, byte [eax + 0x19]
or esi, edi
movzx edi, byte [eax + 0x18]
shl esi, 8
or esi, edi
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x80]
add edi, ebx
xor esi, edi
mov dword [esp + 0x28], esi
movzx esi, byte [eax + 0x1f]
movzx edi, byte [eax + 0x1e]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x1d]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x1c]
mov ebx, dword [esp + 0x70]
shl esi, 8
or esi, edi
mov edi, dword [esp + 0x34]
add edi, ebx
xor esi, edi
movzx edi, byte [eax + 0x22]
mov dword [esp + 0x34], esi
movzx esi, byte [eax + 0x23]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x21]
mov ebx, dword [esp + 0x40]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x20]
shl esi, 8
or esi, edi
mov edi, dword [esp + 0x4c]
add ebx, edi
xor esi, ebx
movzx ebx, byte [eax + 0x26]
mov dword [esp + 0x40], esi
movzx esi, byte [eax + 0x27]
mov ebp, dword [esp + 0x44]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x25]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x24]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x1c]
add ebx, ebp
xor esi, ebx
movzx ebx, byte [eax + 0x2a]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x1c], esi
movzx esi, byte [eax + 0x2b]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x29]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x28]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x10]
add ebx, ebp
xor esi, ebx
mov dword [esp + 0x10], esi
movzx esi, byte [eax + 0x2f]
shl esi, 8
movzx ebx, byte [eax + 0x2e]
or esi, ebx
shl esi, 8
movzx ebx, byte [eax + 0x2d]
or esi, ebx
movzx ebx, byte [eax + 0x2c]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x54]
add ebx, ebp
xor esi, ebx
mov dword [esp + 0x3c], esi
movzx esi, byte [eax + 0x33]
movzx ebx, byte [eax + 0x32]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x31]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x30]
mov ebp, dword [esp + 0x5c]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x20]
add ebx, ebp
xor esi, ebx
movzx ebx, byte [eax + 0x36]
mov dword [esp + 0x20], esi
movzx esi, byte [eax + 0x37]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x35]
mov ebp, dword [esp + 0x64]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x34]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x24]
add ebx, ebp
xor esi, ebx
movzx ebx, byte [eax + 0x3a]
mov dword [esp + 0x24], esi
movzx esi, byte [eax + 0x3b]
mov ebp, dword [esp + 0x6c]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x39]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x38]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x2c]
add ebx, ebp
xor esi, ebx
movzx ebx, byte [eax + 0x3e]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x2c], esi
movzx esi, byte [eax + 0x3f]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x3d]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0x3c]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x18]
add ebx, ebp
xor esi, ebx
add edi, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x4c], edi
jne 0x4962c3
inc dword [esp + 0x44]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 1], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 2], bl
mov byte [ecx], dl
shr edx, 0x18
mov byte [ecx + 3], dl
mov edx, dword [esp + 0x48]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 5], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 6], bl
mov byte [ecx + 4], dl
shr edx, 0x18
mov byte [ecx + 7], dl
mov edx, dword [esp + 0x30]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 9], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0xa], bl
mov byte [ecx + 8], dl
shr edx, 0x18
mov byte [ecx + 0xb], dl
mov edx, dword [esp + 0x38]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0xd], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0xe], bl
mov byte [ecx + 0xc], dl
shr edx, 0x18
mov byte [ecx + 0xf], dl
mov edx, dword [esp + 0x88]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x11], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0x10], dl
mov byte [ecx + 0x12], bl
shr edx, 0x18
mov byte [ecx + 0x13], dl
mov edx, dword [esp + 0x14]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x15], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0x14], dl
shr edx, 0x18
mov byte [ecx + 0x16], bl
mov byte [ecx + 0x17], dl
mov edx, dword [esp + 0x28]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x19], bl
mov ebx, edx
mov byte [ecx + 0x18], dl
shr ebx, 0x10
shr edx, 0x18
mov byte [ecx + 0x1b], dl
mov edx, dword [esp + 0x34]
mov byte [ecx + 0x1a], bl
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x1d], bl
mov ebx, edx
mov byte [ecx + 0x1c], dl
shr ebx, 0x10
shr edx, 0x18
mov byte [ecx + 0x1f], dl
mov edx, dword [esp + 0x40]
mov byte [ecx + 0x1e], bl
mov byte [ecx + 0x20], dl
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x21], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0x22], bl
shr edx, 0x18
mov byte [ecx + 0x23], dl
mov edx, dword [esp + 0x1c]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x25], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0x26], bl
mov byte [ecx + 0x24], dl
shr edx, 0x18
mov byte [ecx + 0x27], dl
mov edx, dword [esp + 0x10]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x29], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0x2a], bl
mov byte [ecx + 0x28], dl
shr edx, 0x18
mov byte [ecx + 0x2b], dl
mov edx, dword [esp + 0x3c]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x2d], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0x2e], bl
mov byte [ecx + 0x2c], dl
shr edx, 0x18
mov byte [ecx + 0x2f], dl
mov edx, dword [esp + 0x20]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x31], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0x30], dl
shr edx, 0x18
mov byte [ecx + 0x32], bl
mov byte [ecx + 0x33], dl
mov edx, dword [esp + 0x24]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x35], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 0x34], dl
shr edx, 0x18
mov byte [ecx + 0x36], bl
mov byte [ecx + 0x37], dl
mov edx, dword [esp + 0x2c]
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x39], bl
mov ebx, edx
mov byte [ecx + 0x38], dl
shr edx, 0x18
shr ebx, 0x10
mov byte [ecx + 0x3b], dl
mov edx, dword [esp + 0x18]
mov byte [ecx + 0x3a], bl
mov ebx, edx
shr ebx, 8
mov byte [ecx + 0x3d], bl
mov ebx, edx
mov byte [ecx + 0x3c], dl
shr edx, 0x18
mov byte [ecx + 0x3f], dl
mov edx, dword [esp + 0xe4]
shr ebx, 0x10
mov byte [ecx + 0x3e], bl
cmp edx, 0x40
jbe 0x4964b2
sub edx, 0x40
add ecx, 0x40
mov dword [esp + 0xe4], edx
add eax, 0x40
jmp 0x495cf2
jae 0x4964ce
test edx, edx
jbe 0x4964ce
mov eax, dword [esp + 0x90]
sub ecx, eax
mov esi, edx
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x4964c3
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x20], edi
pop edi
pop esi
pop ebp
mov dword [eax + 0x24], ecx
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
xor eax, eax
call fcn.004f6592
add esp, 0xc8
ret