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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x5328d0]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x24]
push ebx
mov dword [esp + 0x3c], eax
mov ebx, ecx
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x20], edx
push esi
push edi
test ebx, 0xfffffff8
je 0x4617b3
int3
mov edx, ebx
and edx, 7
jne 0x4617bb
int3
lea ecx, [edx - 1]
test edx, ecx
je 0x4617c3
int3
mov esi, dword [ebp + 0x20]
mov cl, bl
and cl, 1
shr ebx, 1
mov byte [esp + 0x13], cl
and bl, 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], ebx
push ecx
push 0x408a94
push eax
push esi
xor edx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.004c4ed5
test eax, eax
js 0x461ca7
lea eax, [esp + 0x1c]
xor edx, edx
push eax
push 0x408e54
push esi
xor ecx, ecx
call fcn.004c5102
test eax, eax
js 0x461ca7
cmp byte [esp + 0x13], 0
je 0x46182e
mov ebx, 0x409064
mov edi, 0x408b3c
jmp 0x461848
test bl, bl
je 0x46183e
mov ebx, 0x408dd0
mov edi, 0x4098c0
jmp 0x461848
mov ebx, 0x408b0c
mov edi, 0x4098b4
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x18], ebx
push esi
mov dword [esp + 0x20], edi
call fcn.004c52b9
test eax, eax
js 0x461ca7
lea eax, [esp + 0x20]
xor edx, edx
push eax
push 0x409028
push esi
xor ecx, ecx
call fcn.004c5102
test eax, eax
js 0x461ca7
push dword [esp + 0x20]
mov ecx, edi
push esi
call fcn.004c52b9
test eax, eax
js 0x461ca7
push dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x38]
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
and dword [esp + 0x4c], 0
lea edx, [esp + 0x4c]
push esi
mov ecx, 0x409e7c
call fcn.004c502a
test eax, eax
js 0x461ca7
and dword [esp + 0x48], 0
lea edx, [esp + 0x48]
push esi
mov ecx, 0x409e70
call fcn.004c502a
test eax, eax
js 0x461ca7
and dword [esp + 0x30], 0
lea edx, [esp + 0x30]
push esi
mov ecx, 0x409e64
call fcn.004c502a
test eax, eax
js 0x461ca7
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
jne 0x461c66
mov esi, dword [esp + 0x28]
xor edx, edx
xor cl, cl
mov dword [esp + 0x40], edx
xor edi, edi
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x38]
cmp edx, dword [eax + 4]
jae 0x4619f7
mov eax, dword [esi]
and dword [esp + 0x64], 0
mov ebx, dword [eax + 0x2c]
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x3c]
sub esp, 0x10
mov ecx, ebx
mov esi, dword [eax]
add esi, edi
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x5352c4]
mov esi, dword [esp + 0x3c]
mov ecx, esi
call ebx
test eax, eax
js 0x461ca7
mov eax, dword [esi]
lea esi, [esp + 0x68]
mov ebx, dword [eax + 0x84]
lea eax, [esp + 0x64]
push eax
push 0x408e54
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x5352c4]
mov esi, dword [esp + 0x40]
mov ecx, esi
call ebx
test eax, eax
js 0x461ca7
cmp dword [esp + 0x64], 0
je 0x461a09
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
push 0
mov eax, fcn.004e0ca0
mov dword [esp + 0x44], 1
push eax
push dword [esp + 0x70]
mov edx, eax
mov ecx, ebx
call fcn.004dff9d
test eax, eax
js 0x461ca7
mov eax, dword [esp + 0x3c]
test eax, eax
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
sete cl
inc edx
add edi, 0x10
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], edi
test eax, eax
jne 0x461921
test cl, cl
je 0x461a47
mov eax, dword [esp + 0x2c]
mov esi, dword [ebp + 0x20]
mov byte [eax], cl
jmp 0x461c66
push 0x41e098
call fcn.00459ed7
and dword [esp + 0x64], 0
mov esi, 0xc0150006
pop ecx
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0x41bb74
mov dword [esp + 0x5c], 0x41e068
mov dword [esp + 0x60], 0x10e5
call fcn.004de872
mov eax, esi
jmp 0x461ca7
mov edi, dword [esp + 0x44]
and dword [esp + 0x64], 0
mov edi, dword [edi]
mov dword [esp + 0x24], edi
test edi, edi
jne 0x461ac2
mov ecx, dword [esp + 0x28]
lea esi, [ebp + 8]
sub esp, 0x10
mov dword [esp + 0x78], 0x40886c
mov edi, esp
mov dword [esp + 0x7c], 0x408e78
lea eax, [esp + 0x34]
mov dword [esp + 0x80], 0x408ddc
mov dword [esp + 0x84], 0x4092c8
push eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x90], 0x408e60
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x20]
push esi
call fcn.0046145d
test eax, eax
js 0x461ca7
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x24]
mov dword [eax], edi
jmp 0x461ac5
mov esi, dword [ebp + 0x20]
lea eax, [esp + 0x64]
xor edx, edx
push eax
push 0x4090f4
push 0
push esi
call fcn.004c4ed5
test eax, eax
js 0x461ca7
lea eax, [esp + 0x1c]
xor edx, edx
push eax
push 0x408e54
push esi
xor ecx, ecx
call fcn.004c5102
test eax, eax
js 0x461ca7
push dword [esp + 0x1c]
mov ecx, ebx
push esi
call fcn.004c52b9
test eax, eax
js 0x461ca7
push dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x68]
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
lea eax, [esp + 0x20]
xor edx, edx
push eax
push 0x409028
push esi
xor ecx, ecx
call fcn.004c5102
test eax, eax
js 0x461ca7
push dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004c52b9
test eax, eax
js 0x461ca7
push dword [esp + 0x20]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x68]
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
cmp byte [esp + 0x50], 0
je 0x461c26
and dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
push 0x408860
push esi
xor edx, edx
xor ecx, ecx
call fcn.004c5102
test eax, eax
js 0x461ca7
push dword [esp + 0x18]
mov ecx, 0x4098a8
push esi
call fcn.004c52b9
test eax, eax
js 0x461ca7
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0x408944
push esi
xor edx, edx
xor ecx, ecx
call fcn.004c5102
test eax, eax
js 0x461ca7
push dword [esp + 0x14]
mov ecx, 0x40989c
push esi
call fcn.004c52b9
test eax, eax
js 0x461ca7
push dword [esp + 0x18]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x68]
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
push dword [esp + 0x14]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x68]
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
push dword [esp + 0x30]
xor edx, edx
xor ecx, ecx
push edi
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
push dword [esp + 0x64]
xor edx, edx
xor ecx, ecx
push edi
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
push dword [esp + 0x48]
xor edx, edx
xor ecx, ecx
push edi
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
mov eax, dword [esp + 0x2c]
mov byte [eax], 1
push dword [esp + 0x30]
xor edx, edx
xor ecx, ecx
push dword [ebp + 0x18]
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
push dword [esp + 0x34]
xor edx, edx
xor ecx, ecx
push dword [ebp + 0x18]
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
push dword [esp + 0x4c]
xor edx, edx
xor ecx, ecx
push dword [ebp + 0x18]
push esi
call fcn.004c55a1
test eax, eax
js 0x461ca7
xor eax, eax
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0050e82a
mov esp, ebp
pop ebp
ret 0x24