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

Disassembly:
sub esp, 0x58
mov ecx, dword [esp + 0x5c]
push esi
mov edx, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x18]
mov dword [esp + 8], esi
mov dword [esp + 0x34], edx
mov eax, dword [edx + 0x18]
mov esi, dword [edx + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 4], esi
mov dword [esp + 0x58], eax
mov esi, dword [ecx]
mov dword [esp + 0x4c], esi
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x70]
test ecx, ecx
jle 0x460f23
mov esi, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push edi
mov edi, dword [esp + 0x70]
sub edi, esi
sub ebx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ecx
jmp 0x460bdb
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [edi + esi]
mov edi, dword [esi]
mov esi, dword [ebx + esi]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], esi
mov esi, dword [edx + 0x24]
xor edi, edi
mov dword [esp + 0x7c], ecx
cmp esi, edi
je 0x460c3c
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
add ecx, eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x78], 0xfffffffd
mov dword [edx + 0x24], edi
lea ecx, [ecx + eax*2 - 3]
mov dword [esp + 0x7c], ecx
lea ecx, [eax - 1]
add ebx, ecx
add esi, ecx
mov dword [esp + 0x70], esi
mov esi, dword [edx + 0x20]
lea ecx, [eax + eax*2 + 3]
mov dword [esp + 0x74], ebx
lea ebx, [esi + ecx*2]
mov ecx, dword [esp + 0x7c]
jmp 0x460c53
mov ebx, dword [edx + 0x20]
mov esi, 1
mov dword [esp + 0x38], esi
mov dword [esp + 0x78], 3
mov dword [edx + 0x24], esi
xor ebp, ebp
xor esi, esi
xor edx, edx
test eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
jbe 0x460ee8
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
jmp 0x460c8b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
movsx edx, word [ebx + eax*2]
lea esi, [edx + esi + 8]
test esi, esi
jge 0x460ca2
sar esi, 4
or esi, 0xf0000000
jmp 0x460ca5
sar esi, 4
movsx edx, word [ebx + eax*2 + 2]
lea edi, [edx + edi + 8]
test edi, edi
jge 0x460cbd
sar edi, 4
or edi, 0xf0000000
jmp 0x460cc0
sar edi, 4
movsx eax, word [ebx + eax*2 + 4]
lea ebp, [eax + ebp + 8]
test ebp, ebp
jge 0x460cd8
sar ebp, 4
or ebp, 0xf0000000
jmp 0x460cdb
sar ebp, 4
mov eax, dword [esp + 0x70]
xor edx, edx
mov dword [esp + 0x28], ebp
mov dl, byte [eax]
mov eax, 0x51eb851f
mov ebp, edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + esi*4]
mov esi, dword [esp + 0x14]
imul edx, ebp
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx]
add esi, edx
xor edx, edx
mov dl, byte [eax + esi]
mov eax, dword [esp + 0x10]
mov esi, edx
mov edx, dword [eax + edi*4]
mov eax, 0x51eb851f
imul edx, ebp
imul edx
mov edi, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx + 1]
add edi, edx
xor edx, edx
mov dl, byte [eax + edi]
mov eax, dword [esp + 0x10]
mov edi, edx
mov edx, dword [esp + 0x28]
mov edx, dword [eax + edx*4]
mov eax, 0x51eb851f
imul edx, ebp
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov al, byte [ecx + 2]
mov ecx, dword [esp + 0x14]
add ecx, edx
xor edx, edx
mov dl, byte [eax + ecx]
mov eax, dword [0x552c24]
mov ecx, 8
mov ebp, edx
mov edx, dword [0x552c28]
sub ecx, eax
mov eax, esi
sar eax, cl
mov ecx, 8
sub ecx, edx
mov edx, edi
sar edx, cl
mov ecx, 8
mov dword [esp + 0x28], edx
mov edx, dword [0x552c2c]
sub ecx, edx
mov edx, ebp
sar edx, cl
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], edx
mov edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov ecx, dword [edx + ecx*4]
mov edx, dword [esp + 0x54]
cmp word [ecx + edx*2], 0
lea ecx, [ecx + edx*2]
mov dword [esp + 0x54], ecx
jne 0x460de5
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x78]
push eax
call fcn.00461d60
mov ecx, dword [esp + 0x64]
add esp, 0x10
xor eax, eax
mov ax, word [ecx]
mov ecx, dword [esp + 0x6c]
dec eax
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x460e16
mov edx, dword [esp + 0x7c]
cmp byte [edx], 0x81
jne 0x460e16
cmp byte [edx + 1], 0x80
jne 0x460e16
cmp byte [edx + 2], 0x80
jne 0x460e16
mov edx, dword [esp + 0x74]
mov cl, byte [ecx + 0x10]
mov byte [edx], cl
jmp 0x460e1c
mov ecx, dword [esp + 0x74]
mov byte [ecx], al
mov ecx, dword [esp + 0x58]
xor edx, edx
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x5c]
sub esi, edx
xor edx, edx
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x60]
sub edi, edx
xor edx, edx
mov dl, byte [eax + ecx]
lea eax, [esi + esi]
sub ebp, edx
mov edx, dword [esp + 0x18]
mov ecx, esi
add esi, eax
add edx, esi
add esi, eax
mov word [ebx], dx
mov edx, dword [esp + 0x2c]
add edx, esi
add esi, eax
mov dword [esp + 0x2c], ecx
lea eax, [edi + edi]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
mov ecx, edi
add edi, eax
add edx, edi
add edi, eax
mov word [ebx + 2], dx
mov edx, dword [esp + 0x30]
add edx, edi
add edi, eax
mov dword [esp + 0x30], ecx
lea eax, [ebp + ebp]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
mov ecx, ebp
add ebp, eax
add edx, ebp
add ebp, eax
mov word [ebx + 4], dx
mov edx, dword [esp + 0x34]
add edx, ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x78]
add ebp, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
add edx, eax
lea ebx, [ebx + ecx*2]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x70]
add edx, eax
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x3c], eax
jne 0x460c83
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x64]
jmp 0x460eec
mov edx, dword [esp + 0x40]
mov cx, word [esp + 0x18]
mov esi, dword [esp + 0x24]
mov word [ebx], cx
mov cx, word [esp + 0x1c]
mov word [ebx + 2], cx
mov cx, word [esp + 0x20]
mov word [ebx + 4], cx
mov ecx, dword [esp + 0x44]
add esi, 4
dec ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], ecx
jne 0x460bd3
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x58
ret