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

Disassembly:
sub esp, 0x4c
mov edx, dword [esp + 0x64]
mov ecx, dword [edx]
mov eax, dword [esp + 0x50]
push ebx
mov ebx, dword [eax + 0x6c]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + 4]
push ebp
push esi
xor esi, esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [edx + 8]
push edi
mov edi, dword [eax + 0x50]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], ecx
cmp edi, esi
je 0x41d085
cmp ebx, esi
jl 0x41d085
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 4]
xor ebp, ebp
cmp ecx, esi
jle 0x41d085
xor eax, eax
lea esp, [esp]
cmp eax, esi
jl 0x41cdfc
cmp ebp, ecx
jge 0x41cdfc
mov esi, dword [esp + 0x6c]
mov esi, dword [esi]
cmp ebx, dword [eax + esi + 8]
jl 0x41cde3
inc ebp
add eax, 0xc
xor esi, esi
cmp ebp, ecx
jl 0x41cdc0
jmp 0x41d081
mov ecx, dword [edi + 0x14]
add ecx, ebx
cmp ebx, ecx
mov dword [esp + 0x14], ebp
mov esi, ebx
mov dword [esp + 0x34], ecx
jge 0x41d07f
jmp 0x41ce1e
push esi
push esi
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x6c]
cmp ebp, dword [eax + 4]
jge 0x41d078
mov edx, dword [edi + 8]
sub edx, ebx
mov dl, byte [edx + esi]
mov byte [esp + 0x13], dl
test ebp, ebp
jl 0x41d0a2
mov ebx, dword [eax]
lea ebp, [ebp + ebp*2]
add ebp, ebp
add ebp, ebp
mov eax, dword [ebx + ebp + 8]
cmp eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
jl 0x41ce5d
mov dword [esp + 0x18], ecx
mov edi, dword [edi + 0xc]
xor edx, edx
test edi, edi
jle 0x41ce8e
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
lea ecx, [ecx]
mov eax, dword [ecx]
add eax, dword [esp + 0x30]
cmp esi, eax
jl 0x41ce84
inc edx
add ecx, 4
cmp edx, edi
jl 0x41ce70
jmp 0x41ce8e
cmp dword [esp + 0x18], eax
jl 0x41ce8e
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
je 0x41ceb5
add eax, 0xffffffff
js 0x41d0a2
mov edx, dword [esp + 0x6c]
cmp eax, dword [edx + 4]
jge 0x41d0a2
lea eax, [eax + eax*2]
mov eax, dword [ebx + eax*4 + 8]
cmp eax, esi
jge 0x41cee2
lea edx, [eax + eax*2]
add edx, edx
add edx, edx
test edx, edx
jl 0x41d0a2
mov edi, dword [esp + 0x68]
cmp eax, dword [edi + 4]
jge 0x41d0a2
mov edi, dword [edi]
add ecx, dword [edx + edi]
inc eax
add edx, 0xc
cmp eax, esi
jl 0x41cec0
cmp eax, dword [esp + 0x18]
mov edi, ecx
jge 0x41cf15
lea edx, [eax + eax*2]
add edx, edx
add edx, edx
test edx, edx
jl 0x41d0a2
mov esi, dword [esp + 0x68]
cmp eax, dword [esi + 4]
jge 0x41d0a2
mov esi, dword [esi]
add edi, dword [edx + esi]
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x18]
jl 0x41cef1
mov al, byte [esp + 0x13]
cmp al, 1
jne 0x41cfb7
cmp dword [esp + 0x20], 0x20
mov edx, dword [esp + 0x6c]
jge 0x41cf63
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x14]
mov dword [eax], ecx
cmp esi, dword [edx + 4]
jge 0x41d0a2
mov esi, dword [edx]
mov ebx, dword [esi + ebp + 4]
mov esi, dword [esp + 0x70]
inc dword [esp + 0x20]
sub ebx, esi
mov dword [eax + 4], ebx
add ebx, esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
add eax, 0x10
mov dword [esp + 0x74], eax
jmp 0x41cf67
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x24], 0
jne 0x41cf93
mov eax, dword [esp + 0x14]
cmp eax, dword [edx + 4]
mov dword [esp + 0x24], 1
mov dword [esp + 0x44], ecx
jge 0x41d0a2
mov eax, dword [edx]
mov eax, dword [eax + ebp + 4]
sub eax, esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [edx + 4]
jge 0x41d0a2
mov edx, dword [edx]
mov eax, dword [edx + ebp + 4]
mov esi, dword [esp + 0x64]
push edi
mov edx, ecx
call fcn.0041d110
jmp 0x41d058
cmp al, 2
mov eax, dword [ebx + ebp + 4]
mov dword [esp + 0x28], 1
mov dword [esp + 0x3c], edi
mov edx, eax
jne 0x41d030
sub edx, dword [esp + 0x70]
mov dword [esp + 0x40], edx
mov edx, edi
test ecx, ecx
jge 0x41cfdd
xor ecx, ecx
mov esi, dword [esp + 0x64]
mov ebp, dword [esi + 0xc]
cmp edi, ebp
jle 0x41cfea
mov edx, ebp
cmp ecx, edx
jge 0x41d058
test eax, eax
jle 0x41d058
sub eax, 1
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1f], 0xff
js 0x41d058
cmp eax, dword [esi + 0x10]
jge 0x41d058
mov edi, dword [esi + 0x14]
imul edi, eax
lea edi, [edi + ecx*4]
add edi, dword [esi + 8]
lea eax, [ecx + 1]
lea ecx, [edx - 1]
cmp eax, ecx
jge 0x41d058
sub ecx, eax
mov eax, dword [esp + 0x1c]
rep stosd dword es:[edi], eax
jmp 0x41d058
mov ebx, dword [esp + 0x70]
sub edx, ebx
mov esi, edx
mov dword [esp + 0x50], esi
add esi, ebx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x64]
push edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
call fcn.0041d1b0
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x38]
jne 0x41d066
inc dword [esp + 0x14]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x18], eax
mov edx, dword [esp + 0x74]
jl 0x41ce10
cmp dword [esp + 0x20], 0
jne 0x41d0b3
xor esi, esi
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [edx + 0xc], ecx
jmp 0x41d0b9
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esp + 0x60]
xor esi, esi
cmp dword [esp + 0x24], esi
je 0x41d0e1
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x74], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x78], ecx
mov dword [eax + 0x80], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18
cmp dword [esp + 0x28], esi
je 0x41d0ff
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x74], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x78], edx
mov dword [eax + 0x80], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18