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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6717
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x52e028]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
cmp eax, dword [0x5000bc]
jne 0x465227
mov edx, dword [ecx + 4]
cmp edx, dword [0x5000c0]
jne 0x465227
mov eax, dword [ecx + 8]
cmp eax, dword [0x5000c4]
jne 0x465227
mov edx, dword [ecx + 0xc]
cmp edx, dword [0x5000c8]
jne 0x465227
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push esi
push 0
push 0x5000bc
push edx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov dword [esp + 0x50], eax
test eax, eax
jl 0x46524a
mov ecx, dword [esi]
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x3c], ecx
call fcn.004652c0
mov dword [esp + 0xa8], 0
mov esi, dword [edi + 8]
mov edi, dword [esi + 0x28]
add esi, 0x1c
cmp edi, dword [esi + 0x10]
jbe 0x464ea0
call dword [0x4ff3d0]
mov ebx, dword [esi]
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
mov edi, dword [esi + 0x2c]
add esi, 0x1c
cmp dword [esi + 0xc], edi
jbe 0x464ebd
call dword [0x4ff3d0]
mov esi, dword [esi]
test ebx, ebx
je 0x464ec7
cmp ebx, esi
je 0x464ed1
mov esi, dword [0x4ff3d0]
call esi
jmp 0x464ed7
mov esi, dword [0x4ff3d0]
cmp dword [esp + 0x14], edi
je 0x464f61
test ebx, ebx
jne 0x464f59
call esi
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x464ef4
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x84]
call dword [0x4ff338]
mov byte [esp + 0xa8], 1
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.00465380
mov byte [esp + 0xa8], 0
lea ecx, [esp + 0x80]
call dword [0x4ff334]
test ebx, ebx
jne 0x464f5d
call esi
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x464f4f
call esi
add dword [esp + 0x14], 4
jmp 0x464ea6
mov eax, dword [ebx]
jmp 0x464ee9
mov eax, dword [ebx]
jmp 0x464f44
mov edx, dword [esp + 0x6c]
mov edi, dword [edx]
mov esi, dword [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
test esi, esi
je 0x464f87
cmp esi, dword [esp + 0x54]
je 0x464f8d
call dword [0x4ff3d0]
cmp edi, dword [esp + 0x24]
je 0x464fc6
test esi, esi
jne 0x464fc2
call dword [0x4ff3d0]
cmp edi, dword [esi + 0x18]
jne 0x464fa8
call dword [0x4ff3d0]
mov ecx, dword [edi + 0x20]
lea esi, [esp + 0x18]
lea ebx, [ebx + ecx + 1]
call fcn.004659a0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x464f75
mov esi, dword [esi]
jmp 0x464f9d
lea esi, [ebx + ebx + 0x1e]
push esi
mov dword [esp + 0x14], esi
call fcn.004ef3ea
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, eax
test esi, esi
je 0x464fea
mov byte [ecx], 0
inc ecx
sub esi, 1
jne 0x464fe1
mov dword [eax], 0x14
mov dword [eax + 0x10], 1
mov edx, dword [esp + 0x6c]
mov esi, dword [edx]
mov ebx, dword [esp + 0x54]
lea edi, [eax + 0x14]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
lea esp, [esp]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x78], eax
test ebx, ebx
je 0x465022
cmp ebx, dword [esp + 0x54]
je 0x465028
call dword [0x4ff3d0]
cmp esi, dword [esp + 0x78]
je 0x4650cf
test ebx, ebx
jne 0x465058
call dword [0x4ff3d0]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x465049
call dword [0x4ff3d0]
cmp dword [esi + 0x24], 8
jb 0x46505c
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], ecx
jmp 0x465063
mov eax, dword [ebx]
jmp 0x46503e
lea edx, [esi + 0x10]
mov dword [esp + 0x18], edx
test ebx, ebx
jne 0x4650c7
call dword [0x4ff3d0]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x46507a
call dword [0x4ff3d0]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x20]
push eax
inc ecx
push ecx
push edi
call dword [0x4ff3d4]
add esp, 0xc
test ebx, ebx
jne 0x4650cb
call dword [0x4ff3d0]
cmp esi, dword [ebx + 0x18]
jne 0x4650a3
call dword [0x4ff3d0]
mov edx, dword [esi + 0x20]
lea edi, [edi + edx*2]
xor eax, eax
mov word [edi], ax
lea esi, [esp + 0x20]
add edi, 2
call fcn.004659a0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jmp 0x465010
mov eax, dword [ebx]
jmp 0x46506f
mov ebx, dword [ebx]
jmp 0x465098
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov word [edi], cx
xor eax, eax
xor edx, edx
mov word [edi + 2], dx
add edi, 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esi + 0x14]
push eax
push 0x42
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor edi, edi
mov dword [esp + 0x30], eax
cmp eax, edi
je 0x4651d2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x4651d2
push esi
mov esi, dword [esp + 0x2c]
push esi
push eax
call fcn.004f0800
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov ecx, 1
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov edx, 0xf
mov word [esp + 0x44], dx
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], edi
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
or ebx, 0xffffffff
push eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], ebx
call edx
push esi
mov edi, eax
call fcn.004ef3e4
add esp, 4
mov dword [esp + 0xa8], 3
lea esi, [esp + 0x54]
call fcn.00465750
mov dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x54]
push eax
call fcn.004ef10e
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004ef3e4
add esp, 4
mov dword [esp + 0xa8], 9
lea esi, [esp + 0x54]
call fcn.00465750
mov dword [esp + 0xa8], 0xffffffff
mov edx, dword [esp + 0x54]
push edx
call fcn.004ef10e
mov eax, dword [esp + 0x54]
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
push esi
mov esi, dword [ebp + 0x1c]
push esi
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call edx
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c