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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x24], ecx
mov edx, dword [esi + 0x28]
mov dword [eax + 0x28], edx
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0x2c], ecx
mov edx, dword [esi + 0x30]
mov dword [eax + 0x30], edx
mov ecx, dword [esi + 0x34]
mov dword [eax + 0x34], ecx
mov edx, dword [esi + 0x40]
mov dword [eax + 0x40], edx
mov ecx, dword [esi + 0x44]
mov dword [eax + 0x44], ecx
mov edx, dword [esi + 0x48]
mov dword [eax + 0x48], edx
mov ecx, dword [esi + 0x4c]
mov dword [eax + 0x4c], ecx
mov edx, dword [esi + 0x50]
mov dword [eax + 0x50], edx
mov ecx, dword [esi + 0x54]
mov dword [eax + 0x54], ecx
mov edx, dword [esi + 0x58]
mov dword [eax + 0x58], edx
mov ecx, dword [esi + 0x5c]
mov dword [eax + 0x5c], ecx
mov edx, dword [esi + 0x60]
mov dword [eax + 0x60], edx
mov ecx, dword [esi + 0x64]
mov dword [eax + 0x64], ecx
mov edx, dword [esi + 0x68]
mov dword [eax + 0x68], edx
mov ecx, dword [esi + 0x6c]
mov dword [eax + 0x6c], ecx
mov edx, dword [esi + 0x70]
mov dword [eax + 0x70], edx
mov ecx, dword [esi + 0x74]
mov dword [eax + 0x74], ecx
mov edx, dword [esi + 0x78]
mov dword [eax + 0x78], edx
mov ecx, dword [esi + 0x7c]
mov dword [eax + 0x7c], ecx
mov edx, dword [esi + 0x80]
mov dword [eax + 0x80], edx
mov ecx, dword [esi + 0x84]
mov dword [eax + 0x84], ecx
mov edx, dword [esi + 0x88]
mov dword [eax + 0x88], edx
mov ecx, dword [esi + 0x8c]
mov dword [eax + 0x8c], ecx
mov edx, dword [esi + 0x90]
mov dword [eax + 0x90], edx
mov ecx, dword [esi + 0x94]
mov dword [eax + 0x94], ecx
mov edx, dword [esi + 0x98]
mov dword [eax + 0x98], edx
mov ecx, dword [esi + 0x9c]
mov dword [eax + 0x9c], ecx
mov edx, dword [esi + 0xa0]
mov dword [eax + 0xa0], edx
mov ecx, dword [esi + 0xa4]
mov dword [eax + 0xa4], ecx
mov edx, dword [esi + 0xa8]
mov dword [eax + 0xa8], edx
mov ecx, dword [esi + 0xac]
mov dword [eax + 0xac], ecx
mov edx, dword [esi + 0xb0]
mov dword [eax + 0xb0], edx
mov ecx, dword [esi + 0xb4]
mov dword [eax + 0xb4], ecx
movzx ecx, word [esi + 0x38]
test cx, cx
je 0x41cd95
cmp dword [esi + 0x3c], 0
je 0x41cd95
push ebx
push edi
mov edi, ecx
shr edi, 1
lea ebx, [eax + 0x38]
jns 0x41cd33
push 0x80070057
call fcn.00401210
mov eax, dword [ebx]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or edx, eax
jge 0x41cd4e
push edi
mov ecx, ebx
call fcn.00401390
movzx eax, word [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ebx]
push eax
push ecx
push eax
push edx
call fcn.0042360d
add esp, 0x10
mov eax, edi
cmp edi, 0xffffffff
jne 0x41cd7d
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41cd81
push ecx
push eax
call fcn.004235ed
add esp, 8
test eax, eax
js 0x41cd29
mov ecx, dword [ebx]
cmp eax, dword [ecx - 8]
jg 0x41cd29
mov dword [ecx - 0xc], eax
mov ecx, dword [ebx]
xor edx, edx
pop edi
mov word [ecx + eax*2], dx
pop ebx
pop esi
pop ebp
ret