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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], ecx
lea ecx, [edx + 0xa8]
mov ebx, edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0xac], ecx
movzx ecx, byte [edx + 0x138]
mov eax, dword [eax]
mov dword [esp + 0x94], eax
lea eax, [eax + 8]
mov dword [esp + 0x58], eax
lea eax, [edx + 0x139]
mov dword [esp + 0x98], eax
mov dword [esp + 8], eax
jmp 0x41afa3
mov byte [ebx + 0x138], 0x4b
mov dword [ebx + 0x13c], 0
mov cl, 0x4b
cmp cl, 0x4c
jne 0x41b377
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x41af90
mov esi, dword [ebx + 0xe0]
test esi, esi
je 0x41afca
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ebx + 0xc4]
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xa4], eax
mov eax, dword [ebx + 0xf0]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x60]
mov dword [esp + 0x68], ecx
add eax, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x8c], 0
call fcn.00428ba0
movzx eax, byte [esp + 0x10]
cmp al, 0x4b
jne 0x41b1a0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x41b1cb
cmp word [ebx + 0xca], 5
mov dword [esp + 0x9c], esi
mov esi, eax
mov ecx, 0x76
mov eax, 0x2130
mov edi, dword [esp + 0x74]
cmovb ecx, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x78]
call fcn.00408120
mov ecx, esi
mov esi, eax
test edx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edi
lea edi, [esp + 0x70]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edi
je 0x41b1e2
mov ebx, edx
add esi, 0x10
dec ebx
nop dword [eax]
cmp ebx, 0xffffffff
je 0x41b204
lea eax, [esi - 0x10]
lea ecx, [esp + 0x10]
lea edi, [esp + 0xb0]
lea edx, [esp + 0x40]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [esp + 0x50]
movsd qword [esp + 0xb8], xmm1
movsd qword [esp + 0xb0], xmm0
mov eax, dword [eax + 0xc]
push edi
push dword [eax + 0x20]
call fcn.00424000
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
xor edx, 0x2e
or edx, ecx
je 0x41b2c0
mov edx, dword [esp + 0x18]
movzx edi, word [esp + 0x20]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebx
add esi, 0x10
dec ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x1c]
cmp di, word [esp + 8]
mov edi, dword [esp + 0x22]
mov dword [esp + 0xc], edx
movzx edx, word [esp + 0x26]
jne 0x41b0a0
mov word [esp + 0x26], dx
mov dword [esp + 0x22], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
mov word [esp + 0x20], ax
call fcn.004258b0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
mov esi, edi
mov dword [esp + 0xc], edx
shld edi, eax, 0x10
mov dl, ah
mov dword [esp + 0x38], ecx
shr esi, 0x10
jmp 0x41b22a
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x11]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x12]
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, word [esp + 0x16]
mov ecx, dword [esp + 8]
jmp 0x41b300
mov al, 0x42
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
jmp 0x41b300
cmp dword [esp + 0x84], 0
jne 0x41b21e
sub ecx, dword [esp + 0x70]
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], ecx
jmp 0x41b21e
mov eax, dword [esp + 0x50]
cmp dword [eax + 0x14], 0
jne 0x41b21e
mov ecx, dword [esp + 0x40]
sub ecx, dword [eax]
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], ecx
mov ebx, dword [esp + 0x34]
xor edx, edx
xor esi, esi
mov al, 0x2e
xor edi, edi
mov ecx, edi
mov dword [esp + 8], edx
movzx edx, dl
movzx eax, al
mov dword [esp + 0x5c], esi
shld esi, edi, 0x10
shl ecx, 0x10
shl edx, 8
mov dword [esp + 0x14], esi
or edx, ecx
mov ecx, dword [esp + 0xc]
or eax, edx
mov dword [esp + 0x10], eax
xor eax, 0x2e
or eax, esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x41b42e
movzx eax, byte [ebx + 0xc9]
mov edx, dword [esp + 0x58]
lea esi, [esp + 0x10]
lea ecx, [esp + 0x60]
push esi
push dword [ebx + 0xf4]
push eax
call fcn.004222f0
add esp, 0xc
movzx eax, byte [esp + 0x60]
cmp al, 0x4b
je 0x41b432
movzx edx, byte [esp + 0x63]
movzx ecx, word [esp + 0x61]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
shl edx, 0x10
mov dword [esp + 0x3c], eax
or ecx, edx
mov edx, dword [esp + 0x64]
jmp 0x41b324
movzx esi, word [esp + 0x26]
mov edx, dword [esp + 0x22]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
movzx ecx, word [esp + 0x20]
shld esi, edx, 0x10
shl edx, 0x10
mov eax, edi
shld edi, ebx, 0x10
mov dword [esp + 4], ebx
or edx, ecx
mov cl, bh
mov ebx, dword [esp + 0x34]
shr eax, 0x10
mov dword [esp + 0xc], edx
nop word cs:[eax + eax]
mov edx, edi
mov dword [esp + 8], ecx
movzx ecx, cl
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], esi
shl edx, 8
or ecx, edx
mov edx, eax
mov eax, dword [esp + 0xc]
shld edx, edi, 0x10
mov dword [esp + 0x3c], eax
movzx eax, byte [ebx + 0x138]
cmp al, 0x4c
jne 0x41b370
mov eax, dword [esp + 4]
mov byte [ebx + 0x138], al
mov word [ebx + 0x139], cx
shr ecx, 0x10
mov byte [ebx + 0x13b], cl
mov dword [ebx + 0x13c], edx
mov edx, dword [esp + 0x3c]
mov ecx, eax
mov dword [ebx + 0x144], esi
mov dword [ebx + 0x140], edx
jmp 0x41afa3
mov ecx, eax
jmp 0x41afa3
mov dword [esp + 4], ecx
movzx ecx, cl
cmp ecx, 0x4b
jne 0x41b3a1
mov edx, dword [ebx + 0x13c]
mov al, 0x4b
mov dword [esp + 4], eax
test edx, edx
je 0x41b3e4
mov esi, dword [edx]
add edx, 8
mov cl, 2
mov ebx, edx
add esi, 8
jmp 0x41b3ea
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 2]
mov byte [esp + 0x32], cl
movzx ecx, word [eax]
mov word [esp + 0x30], cx
movzx edx, byte [ebx + 0x143]
mov esi, dword [ebx + 0x13c]
movzx ecx, byte [ebx + 0x140]
mov byte [esp + 0x2e], dl
movzx edx, word [ebx + 0x141]
mov word [esp + 0x2c], dx
mov ebx, dword [ebx + 0x144]
jmp 0x41b3ea
mov esi, dword [esp + 0x58]
xor ecx, ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 4]
mov byte [edx + 8], al
movzx eax, word [esp + 0x30]
mov word [edx + 9], ax
movzx eax, byte [esp + 0x32]
mov byte [edx + 0xb], al
mov dword [edx + 0xc], esi
mov byte [edx + 0x10], cl
movzx esi, word [esp + 0x2c]
movzx ecx, byte [esp + 0x2e]
mov word [edx + 0x11], si
mov byte [edx + 0x13], cl
mov dword [edx + 0x14], ebx
mov dword [edx], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x41b43e
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x94]
lock inc dword [edx]
mov esi, dword [esp + 0x9c]
jle 0x41b497
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0xa8]
mov dword [ecx + 0x10], edi
mov edi, dword [esp + 0xa4]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x18], esi
mov esi, dword [esp + 0xa0]
mov dword [ecx + 0x1c], esi
mov esi, dword [esp + 0x3c]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], esi
mov dword [ecx + 0x28], edx
mov edx, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov dword [ecx], 0
jmp 0x41b426
ud2