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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x460ec018]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [0x460eca68]
push edi
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x38]
mov dword [esp + 0x18], eax
neg edi
mov dword [esp + 0x48], esi
mov eax, dword [eax + 0x24]
mov ecx, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xa4], bl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x88], eax
call fcn.460933da
lea eax, [esi + 4]
mov ecx, eax
mov dword [esp + 0x84], eax
call fcn.460c3caa
test eax, eax
je 0x460be3ec
mov eax, dword [esi + 0x38]
test eax, eax
jle 0x460bdb61
mov ecx, eax
mov edi, eax
neg ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], ecx
jmp 0x460bdc8e
jns 0x460bdb70
lea ecx, [esi + 0x20]
call fcn.460cd626
jmp 0x460bdc8e
test edi, edi
jne 0x460bdc8a
test byte [ebp + 0xc], 0xa
je 0x460bdc8a
test byte [ebp + 0xc], 2
je 0x460bdc2f
push 1
lea eax, [esp + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.460bfcd6
mov eax, dword [esi + 0x18]
mov edi, dword [esp + 0x38]
cmp edi, eax
jge 0x460bdc2f
cmp eax, dword [esp + 0xc]
jge 0x460bdc2f
push esi
lea ecx, [esp + 0xcc]
call fcn.460bba6f
mov eax, edi
lea ecx, [esp + 0xc8]
sub eax, dword [esp + 0xc]
push eax
push edi
call fcn.460bbfbe
lea ecx, [esp + 0xc8]
call fcn.460df6a3
mov dword [esp + 0x68], eax
test eax, eax
jne 0x460bdc1d
push ebx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0xd0]
call fcn.460bd94d
and eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x14]
jne 0x460bdc1d
mov eax, edi
mov edi, dword [esp + 0xc]
sub eax, dword [esi + 0x18]
sub edi, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edi
jmp 0x460bdc21
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0xc8]
call fcn.460bbad5
jmp 0x460bdc8e
lea ecx, [esi + 0xc]
call fcn.460d2df2
test eax, eax
je 0x460bdc8a
lea ecx, [esi + 4]
call fcn.460c323b
cmp word [eax], bx
jne 0x460bdc8a
push 5
pop ecx
add esi, 0xc
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push 1
lea ecx, [esp + 0x90]
call fcn.460d2b75
mov esi, dword [esp + 0x48]
mov edi, eax
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x20]
call fcn.460cd626
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x60], 1
or edx, 0x1000
jmp 0x460bdc91
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push edx
push dword [ebp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], edi
call fcn.4608b0db
mov dword [esp + 0x64], eax
test edi, edi
je 0x460be373
test dword [ebp + 0xc], 0x40000000
mov dword [esp + 0x4c], ebx
jne 0x460bdd28
mov eax, dword [esp + 0x18]
add eax, 0x44
mov dword [esp + 0x4c], eax
je 0x460bdd28
mov eax, dword [esi + 0x18]
lea ecx, [esi + 4]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
call fcn.460c323b
cmp word [eax], bx
je 0x460bdd0b
lea eax, [esp + 0x34]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.460bfb54
mov ecx, esi
call fcn.460bbf89
cmp dword [esp + 0x34], eax
jg 0x460bdd0b
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
jmp 0x460bdd0f
mov ecx, dword [esp + 0x40]
lea eax, [ecx + edi]
push eax
push ecx
mov ecx, dword [esp + 0x54]
lea eax, [esi + 4]
push ebx
push ebx
push 0x3fffffff
push eax
call fcn.460b6fe9
push dword [esp + 0x2c]
add esi, 0x20
mov ecx, esi
mov dword [esp + 0x84], esi
call fcn.460cd3b0
lea edi, [esp + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
mov eax, dword [edi + 0x18]
add eax, esi
mov dword [esp + 0x44], eax
cmp dword [ebp + 0x10], ebx
je 0x460bde18
mov ecx, dword [esp + 0x18]
mov eax, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ebx
test byte [ecx + 0x6c], 1
je 0x460bddc1
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0xcc]
call fcn.460c3087
mov eax, esi
lea ecx, [esp + 0xe4]
neg eax
push eax
call fcn.460cd3b0
test esi, esi
je 0x460bdda4
push esi
lea ecx, [esp + 0xcc]
call fcn.460c30e1
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ebx
push esi
lea ecx, [esp + 0xd4]
call fcn.460c3793
mov dword [esp + 0xc], eax
jmp 0x460bddc5
mov esi, dword [esp + 0x14]
neg eax
lea ecx, [esp + 0x54]
push eax
call fcn.460cd3b0
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x20]
push ebx
push dword [esp + 0x28]
add eax, esi
push eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x28]
call fcn.46086dc2
push dword [esp + 0xc]
lea ecx, [esp + 0x58]
mov esi, eax
call fcn.460cd3b0
test esi, esi
je 0x460bde18
mov eax, dword [ebp + 0x10]
push esi
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x460ed508]
mov ecx, dword [ebp + 0x10]
call esi
mov edx, dword [esp + 0x10]
mov eax, ebx
mov dword [esp + 0x3c], eax
mov ecx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x7c], edx
mov cl, byte [eax + 4]
cmp cl, 2
je 0x460bde4b
mov dword [esp + 0x30], ebx
cmp cl, 0xff
jne 0x460bde53
mov dword [esp + 0x30], 1
movzx eax, cl
sub eax, 0xb1
mov dword [esp + 0x70], eax
call fcn.460e9076
mov dword [esp + 0x74], eax
lea esi, [edi + 0xc]
mov eax, edx
lea edi, [esp + 0x8c]
push 5
and eax, 0x100
pop ecx
mov dword [esp + 0x6c], eax
rep movsd dword es:[edi], dword [esi]
je 0x460bdeb7
cmp dword [esp + 0x30], ebx
jne 0x460bdeb7
mov esi, dword [ebp + 8]
lea edx, [esp + 0xc]
movsx ecx, word [esi + 6]
call fcn.460a1c36
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x460bdeb3
movzx ecx, byte [esi + 4]
call fcn.460e933f
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, 0x4000
test word [eax + 0x64], cx
je 0x460bded8
test edx, 0x2000
jne 0x460bded8
or edx, 0x1000
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x460be21a
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], esi
test eax, eax
je 0x460be21a
cmp dword [eax + 4], ebx
je 0x460be21a
lea ecx, [esp + 0x54]
call fcn.460a407d
mov ecx, dword [esp + 0x18]
cwde
push eax
lea ecx, [ecx + 0x9c]
call fcn.460989f9
lea edi, [esp + 0xa0]
mov esi, eax
push 0xa
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x64], ebx
je 0x460bdf42
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xa0]
movsx eax, word [eax + 0x1c]
push eax
call fcn.4608af54
test dword [esp + 0xa0], 0x40000
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
je 0x460bdf65
mov esi, dword [ebp + 0x14]
and esi, 0xd7ffffff
jmp 0x460be168
cmp dword [esp + 0x6c], ebx
je 0x460be165
push dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
call fcn.460864a0
mov eax, dword [eax]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
cmp edi, eax
jge 0x460bdf8e
mov dword [esp + 0x1c], edi
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x20]
and esi, 0xf7ffffff
test eax, eax
je 0x460bdfac
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
jmp 0x460be168
mov cl, byte [esp + 0xa4]
cmp cl, 2
je 0x460bdfc1
cmp cl, 0xff
je 0x460bdfc1
mov eax, ebx
jmp 0x460bdfc4
xor eax, eax
inc eax
mov edx, dword [esp + 0x30]
cmp eax, edx
je 0x460be094
test edx, edx
jne 0x460bdfda
mov eax, dword [ebp + 8]
mov cl, byte [eax + 4]
call fcn.460e9324
mov edx, eax
mov ecx, edx
mov dword [esp + 0x34], edx
call fcn.460e9091
test eax, eax
je 0x460be09c
or esi, 0x8000000
mov dword [ebp + 0x14], esi
cmp dword [esp + 0x30], ebx
je 0x460be00d
mov word [esp + 0xc6], dx
jmp 0x460be03f
movzx edx, word [esp + 0xc6]
mov ecx, edx
call fcn.460e9091
test eax, eax
je 0x460be03f
mov eax, edx
xor edx, edx
mov ecx, eax
mov dword [esp + 0x34], eax
call fcn.460e927e
and esi, 0xf7ffffff
mov byte [esp + 0xa4], al
mov dword [ebp + 0x14], esi
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x8c]
sub eax, dword [esp + 0x98]
push eax
call fcn.460d2818
push dword [ebp + 0x10]
lea ecx, [esp + 0x90]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x28]
call fcn.460d3219
cmp eax, dword [esp + 0x1c]
jge 0x460be168
xor ecx, ecx
mov dword [esp + 0x1c], eax
inc ecx
mov dword [esp + 0x20], ecx
test eax, eax
je 0x460be204
jmp 0x460be168
test edx, edx
jne 0x460be168
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x8c]
sub eax, dword [esp + 0x98]
push eax
call fcn.460d2818
lea ecx, [esp + 0x8c]
call fcn.460d26bc
mov dl, byte [esp + 0xa4]
mov ecx, 0x80
cmp ax, cx
sbb ecx, ecx
neg ecx
cmp dword [esp + 0x70], 1
mov dword [esp + 0x34], ecx
jbe 0x460be12c
movzx ecx, dl
sub ecx, 0xb1
cmp ecx, 1
jbe 0x460be12c
mov ecx, 0x80
cmp ax, cx
jae 0x460be12c
mov eax, dword [esp + 0x3c]
mov ecx, 0x3000
and eax, ecx
cmp eax, ecx
je 0x460be111
cmp dword [esp + 0x74], ebx
jne 0x460be111
cmp dword [esp + 0x30], ebx
je 0x460be12c
movzx ecx, dl
call fcn.460e933f
and eax, dword [esp + 0x3c]
test eax, 0xffffcfff
jne 0x460be149
or esi, 0x8000000
jmp 0x460be149
movzx ecx, dl
call fcn.460e933f
and eax, dword [esp + 0x3c]
test eax, 0xffffcfff
jne 0x460be149
mov esi, dword [esp + 0x50]
and esi, 0xd7ffffff
push dword [esp + 0x34]
push ecx
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x9c]
call fcn.460d2e89
sub dword [esp + 0x1c], eax
jmp 0x460be168
mov esi, dword [ebp + 0x14]
push dword [esp + 0x10]
lea ecx, [esp + 0xa4]
push esi
push dword [ebp + 8]
call fcn.4608abfa
mov dword [esp + 0x28], eax
test eax, eax
jne 0x460be412
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xa4]
mov dword [ebp + 0x14], esi
push eax
call fcn.460a3390
mov dword [esp + 0x28], eax
test eax, eax
jne 0x460be21a
mov ecx, dword [0x460eca78]
test ecx, ecx
je 0x460be1c5
push ebx
call fcn.460b9374
push ebx
push dword [esp + 0x28]
lea ecx, [esp + 0x5c]
push dword [esp + 0x24]
push dword [esp + 0x18]
call fcn.460a3ef4
mov ecx, dword [esp + 0x24]
push dword [esp + 0xc]
mov dword [esp + 0x54], eax
lea ecx, [ecx + 4]
call fcn.460a30a1
mov eax, dword [esp + 0x50]
cmp eax, 0x3fffffff
je 0x460be20e
add dword [esp + 0x44], eax
sub edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jg 0x460bdee7
jmp 0x460be21a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x4c]
call fcn.460872fa
mov ecx, dword [esp + 0x80]
call fcn.460cd601
lea ecx, [esp + 0x54]
call fcn.460cd626
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x54]
push dword [esp + 0x24]
push dword [esi + 0x24]
call fcn.460a3d79
mov eax, dword [esp + 0x2c]
lea ecx, [esi + 0x20]
test eax, eax
je 0x460be258
neg eax
push eax
call fcn.460cd3b0
jmp 0x460be25d
call fcn.460cd626
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x460be285
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
sub eax, edi
add eax, ecx
push eax
push ecx
push ebx
push ebx
push 0x3fffffff
lea eax, [esi + 4]
mov ecx, edx
push eax
call fcn.460b703c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x460be2aa
cmp dword [ebp + 0xc], ebx
jl 0x460be2aa
mov ecx, dword [esp + 0x18]
mov edx, eax
push 2
push dword [esi + 0x38]
push dword [esi + 0x18]
push dword [esi + 0x38]
push dword [esi + 0x18]
call fcn.460b4cb6
cmp dword [esi + 0x38], ebx
jne 0x460be2c2
cmp dword [esp + 0x60], ebx
jne 0x460be36f
push 0xffffffffffffffff
mov ecx, esi
call fcn.460be9c6
mov eax, dword [esp + 0x18]
test byte [eax + 0x60], 1
je 0x460be458
mov ecx, dword [eax + 0x4c]
push ebx
call fcn.4608725d
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
test byte [esi + 0x42], 2
je 0x460be2fe
test byte [eax + 0x60], 1
je 0x460be2fe
test dword [eax + 0x60], 0x80000
jne 0x460be2fe
mov ecx, dword [eax + 0x4c]
call fcn.460872dc
test dword [esp + 0x10], 0x2800
jne 0x460be461
cmp dword [esp + 0x38], ebx
je 0x460be461
test edi, edi
jne 0x460be470
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x460be46d
push dword [esp + 0x84]
lea ecx, [esp + 0xcc]
call fcn.460c3087
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
add eax, esi
je 0x460be356
push eax
lea ecx, [esp + 0xcc]
call fcn.460c30e1
push ebx
push dword [ebp + 0x10]
lea ecx, [esp + 0xd0]
push ebx
push esi
call fcn.460c38ce
mov edi, ebx
jmp 0x460be470
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
or edx, 0x1000
movsx eax, word [esi + 0x40]
push eax
mov dword [esp + 0x14], edx
lea ecx, [ecx + 0x9c]
call fcn.460989f9
push 0xa
pop ecx
mov esi, eax
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
test byte [esp + 0xa0], 0x20
mov esi, dword [ebp + 0x14]
je 0x460be3b8
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x50], ebx
je 0x460be3b8
and esi, 0xffffffdf
cmp dword [esp + 0x64], ebx
je 0x460be3d2
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xa0]
movsx eax, word [eax + 0x1c]
push eax
call fcn.4608af54
push dword [esp + 0x10]
lea ecx, [esp + 0xa4]
push esi
push dword [ebp + 8]
call fcn.4608abfa
test eax, eax
je 0x460be3f2
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x460be412
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.460a3390
mov edi, eax
mov dword [esp + 0x28], edi
test edi, edi
je 0x460be418
mov edi, dword [esp + 0x28]
jmp 0x460be470
mov ecx, dword [0x460eca78]
test ecx, ecx
je 0x460be428
push ebx
call fcn.460b9374
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
movsx eax, word [esi + 0x40]
push eax
lea ecx, [ecx + 4]
call fcn.460a30a1
mov ax, word [esp + 0xc]
mov word [esi + 0x40], ax
cmp dword [esp + 0x68], ebx
je 0x460be2dd
xor edi, edi
inc edi
jmp 0x460be2dd
mov edi, dword [esp + 0x28]
jmp 0x460be2e1
test edi, edi
jne 0x460be470
mov esi, dword [esp + 0x14]
test esi, esi
je 0x460be470
xor edi, edi
inc edi
mov ecx, dword [esp + 0x88]
call fcn.46093413
mov ecx, dword [esp + 0x114]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.460ea320
mov esp, ebp
pop ebp
ret 0x14