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

Disassembly:
sub esp, 0x60
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x80]
push esi
push edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x30]
push eax
push 0x18
xor esi, esi
push ebp
mov dword [esp + 0x54], 0x28
mov word [esp + 0x60], 1
mov word [esp + 0x62], 0x18
mov dword [esp + 0x1c], esi
call dword [0x46a044]
mov ebx, 0x20
cmp word [esp + 0x42], bx
jne 0x41d948
mov ecx, dword [esp + 0x74]
mov esi, dword [0x46a0a8]
push ecx
call esi
mov edx, dword [esp + 0x80]
mov edi, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
test eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x4c], edx
je 0x41d6b8
mov dword [esp + 0x14], eax
jmp 0x41d73f
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x58]
push edx
push 0
mov word [esp + 0x6e], bx
call dword [0x46a03c]
test eax, eax
mov dword [esp + 0x20], eax
je 0x41d90d
mov eax, dword [esp + 0x74]
push eax
call esi
push ebp
mov ebp, dword [0x46a030]
mov esi, eax
push esi
call ebp
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ebx, eax
call ebp
mov edx, dword [esp + 0x38]
push 0xcc0020
push 0
push 0
push esi
push edx
mov ebp, eax
mov eax, dword [esp + 0x48]
push eax
push 0
push 0
push edi
mov dword [esp + 0x3c], ebp
call dword [0x46a0b4]
push ebp
mov ebp, dword [0x46a030]
push edi
call ebp
push ebx
push esi
call ebp
push esi
call dword [0x46a034]
mov word [esp + 0x56], 0x18
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x58]
push edx
push 0
call dword [0x46a03c]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x41d90d
push eax
push edi
call dword [0x46a030]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x80]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
push eax
push ecx
push ebx
push 0
push 0
push edi
call dword [0x46a0b4]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], 0
test edx, edx
mov eax, edx
jge 0x41d7bd
neg eax
cmp dword [esp + 0x10], eax
jge 0x41d8de
mov eax, dword [esp + 0x34]
test eax, eax
mov ecx, eax
mov dword [esp + 0x28], eax
jle 0x41d8bd
jmp 0x41d7e4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x8c]
sub eax, ecx
cmp eax, edx
jl 0x41d8a7
add edx, ebx
cmp eax, edx
jge 0x41d8a7
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x41d8a7
cmp eax, dword [esp + 0x84]
jge 0x41d8a7
mov cl, byte [ebp + 3]
or al, 0xff
sub al, cl
movzx edi, al
movzx eax, byte [ebp]
movzx ebx, cl
movzx ecx, byte [esi]
imul eax, ebx
imul ecx, edi
add ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movzx edx, byte [esi + 1]
mov byte [esi], cl
imul edx, edi
movzx ecx, byte [ebp + 1]
imul ecx, ebx
add ecx, edx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edx, byte [esi + 2]
mov byte [esi + 1], al
imul edx, edi
movzx ecx, byte [ebp + 2]
imul ecx, ebx
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x80]
add ecx, edx
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x28]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esi + 2], al
add esi, 3
sub ecx, 1
add ebp, 4
test ecx, ecx
mov dword [esp + 0x28], ecx
jg 0x41d7e0
mov edx, dword [esp + 0x38]
lea ecx, [ebx + ebx*2]
and ecx, 0x80000003
jns 0x41d8cd
dec ecx
or ecx, 0xfffffffc
inc ecx
neg ecx
and ecx, 3
add esi, ecx
add dword [esp + 0x10], 1
jmp 0x41d7b5
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
push 0xcc0020
push 0
push 0
push edi
push edx
mov edx, dword [esp + 0x88]
push ebx
push eax
push ecx
push edx
call dword [0x46a0b4]
mov dword [esp + 0x10], eax
test edi, edi
mov esi, dword [0x46a090]
je 0x41d926
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [0x46a030]
push edi
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41d931
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41d93c
push eax
call esi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret