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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor eax, eax
mov ebp, ecx
mov ax, word [esi + 0x3c]
xor ecx, ecx
mov cl, byte [esi + 0x3e]
lea edx, [ebp + 0xdc0]
shl eax, 8
or eax, ecx
xor ecx, ecx
mov cl, byte [esi + 0x3f]
push edi
mov edi, dword [edx + 0x400]
xor ebx, ebx
shl eax, 8
or eax, ecx
mov dword [esp + 0x10], ebp
test edi, edi
jle 0x41f83b
mov ecx, edx
cmp dword [ecx], eax
je 0x41f867
inc ebx
add ecx, 0x10
cmp ebx, edi
jl 0x41f82f
mov ecx, dword [esp + 0x28]
shl edi, 4
mov dword [edi + edx], eax
mov eax, dword [edx + 0x400]
shl eax, 4
mov dword [eax + edx + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + edx + 0xc], ecx
mov eax, dword [edx + 0x400]
inc eax
mov dword [edx + 0x400], eax
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, eax
jl 0x41f87a
cmp ecx, 3
jl 0x41f91f
lea edi, [ebp + 0x1c10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edi
mov ebp, dword [edi]
xor ecx, ecx
test ebp, ebp
jle 0x41f8d7
mov bx, word [esi + 0x3c]
add edi, 0xfffff63c
test bx, bx
je 0x41f8a9
mov edx, ebx
and edx, 0xffff
jmp 0x41f8b1
xor edx, edx
mov dh, byte [esi + 0x3e]
mov dl, byte [esi + 0x3f]
mov ax, word [edi]
test ax, ax
je 0x41f8c0
and eax, 0xffff
jmp 0x41f8c8
xor eax, eax
mov ah, byte [edi + 2]
mov al, byte [edi + 3]
cmp edx, eax
je 0x41f8db
inc ecx
add edi, 0xa0
cmp ecx, ebp
jl 0x41f89a
xor eax, eax
jmp 0x41f8f1
mov edx, dword [esp + 0x24]
lea eax, [ecx + ecx*4]
shl eax, 5
lea ecx, [edx - 0xa00]
add eax, ecx
test eax, eax
jne 0x41f913
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
inc ecx
add edi, 0xa08
cmp ecx, 3
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edi
jl 0x41f888
jmp 0x41f91b
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jl 0x41fc91
cmp ecx, 3
jge 0x41fc91
xor edx, edx
xor ecx, ecx
mov dx, word [esi + 0x3c]
mov cl, byte [esi + 0x3e]
mov ebx, dword [ebp + 0xdb8]
lea edi, [ebp + 0x9b8]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esi + 0x3f]
shl edx, 8
or edx, ecx
xor ecx, ecx
test ebx, ebx
jle 0x41f973
mov ebp, edi
cmp dword [ebp], edx
je 0x41f9a1
inc ecx
add ebp, 0x10
cmp ecx, ebx
jl 0x41f962
mov ebp, dword [esp + 0x10]
shl ebx, 4
mov dword [ebx + edi], edx
mov ecx, dword [edi + 0x400]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
shl ecx, 4
mov dword [ecx + edi + 8], edx
mov dword [ecx + edi + 0xc], ebx
mov ecx, dword [edi + 0x400]
inc ecx
mov dword [edi + 0x400], ecx
jmp 0x41f9ad
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x41fb05
mov eax, dword [esp + 0x20]
lea edx, [eax + eax*4]
shl edx, 6
add edx, eax
lea ebx, [ebp + edx*8 + 0x1210]
xor ebp, ebp
mov edx, dword [ebx + 0xa00]
test edx, edx
jle 0x41fa1a
lea edi, [ebx + 0x3c]
mov cx, word [esi + 0x3c]
test cx, cx
je 0x41f9e8
and ecx, 0xffff
jmp 0x41f9f0
xor ecx, ecx
mov ch, byte [esi + 0x3e]
mov cl, byte [esi + 0x3f]
mov ax, word [edi]
test ax, ax
je 0x41f9ff
and eax, 0xffff
jmp 0x41fa07
xor eax, eax
mov ah, byte [edi + 2]
mov al, byte [edi + 3]
cmp ecx, eax
je 0x41fae8
inc ebp
add edi, 0xa0
cmp ebp, edx
jl 0x41f9d7
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 0x8a0]
mov dword [esi + 0x90], ecx
mov eax, dword [eax + 0x8a4]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x94], eax
xor eax, eax
cmp ecx, eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
je 0x41fa9e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
mov eax, dword [ebx + 0xa00]
xor edi, edi
test eax, eax
jle 0x41fc24
mov ecx, ebx
mov dword [esp + 0x20], ecx
call fcn.0041fcd0
mov ecx, esi
mov ebp, eax
call fcn.0041fcd0
cmp eax, ebp
je 0x41fc18
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0xa00]
inc edi
add ecx, 0xa0
cmp edi, eax
mov dword [esp + 0x20], ecx
jl 0x41fab4
jmp 0x41fc24
lea eax, [ebp + ebp*4]
shl eax, 5
add eax, ebx
test eax, eax
je 0x41fa1a
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
test ebx, ebx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], ebx
jg 0x41fb5d
jl 0x41fb19
cmp edx, 0xc0000
jae 0x41fb5d
mov ecx, dword [eax + 0x90]
mov esi, dword [ebp + 0x8a0]
mov edi, dword [ebp + 0x8a4]
sub ecx, esi
mov esi, dword [eax + 0x94]
sbb esi, edi
mov dword [esp + 0x18], esi
js 0x41fb5d
jg 0x41fb45
cmp ecx, 0x2dc6c0
jbe 0x41fb5d
mov ecx, dword [ebp + 0x8a8]
mov dword [eax + 0x98], ecx
mov ecx, dword [ebp + 0x8ac]
mov dword [eax + 0x9c], ecx
mov ecx, dword [ebp + 0x8a0]
mov dword [eax + 0x90], ecx
mov ecx, dword [ebp + 0x8a4]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x41fc91
mov esi, dword [eax + 0x50]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x68], edx
mov edx, dword [esp + 0x38]
cmp esi, 0xffffffff
mov dword [eax + 0x6c], ebx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], edx
jne 0x41fbb8
cmp dword [eax + 0x54], 0x7fffffff
jne 0x41fbb8
mov esi, dword [esp + 0x28]
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x58], esi
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], edx
jmp 0x41fbbc
mov esi, dword [esp + 0x28]
mov edi, dword [eax + 0x74]
cmp edi, edx
jl 0x41fbd8
jg 0x41fbcc
mov edi, dword [eax + 0x70]
cmp edi, ecx
jbe 0x41fbd8
mov dword [eax + 0x78], esi
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
mov edi, dword [eax + 0x84]
cmp edi, edx
jg 0x41fc91
jl 0x41fbf6
mov edi, dword [eax + 0x80]
cmp edi, ecx
jae 0x41fc91
mov dword [eax + 0x88], esi
pop edi
pop esi
mov dword [eax + 0x8c], ebx
pop ebp
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], edx
pop ebx
add esp, 0xc
ret 0x1c
lea edi, [edi + edi*4]
shl edi, 5
add edi, ebx
test edi, edi
jne 0x41fc91
mov eax, dword [ebx + 0xa00]
xor edi, edi
test eax, eax
jle 0x41fc76
mov dword [esp + 0x20], ebx
mov ax, word [esi + 0x3c]
test ax, ax
je 0x41fc46
and eax, 0xffff
mov ebp, eax
jmp 0x41fc50
xor ecx, ecx
mov ch, byte [esi + 0x3e]
mov cl, byte [esi + 0x3f]
mov ebp, ecx
mov ecx, dword [esp + 0x20]
call fcn.0041fcd0
cmp ebp, eax
jb 0x41fc9b
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0xa00]
inc edi
add ecx, 0xa0
cmp edi, eax
mov dword [esp + 0x20], ecx
jl 0x41fc34
mov eax, dword [ebx + 0xa00]
lea edi, [eax + eax*4]
shl edi, 5
add edi, ebx
mov ecx, 0x28
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0xa00]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x1c
mov ecx, dword [ebx + 0xa00]
lea eax, [edi + edi*4]
shl eax, 5
lea edx, [ecx + ecx*4]
shl edx, 5
lea ebp, [eax + ebx]
sub edx, eax
lea eax, [edi + edi*4 + 5]
push edx
shl eax, 5
add eax, ebx
push ebp
push eax
call fcn.00453bc0
add esp, 0xc
mov edi, ebp
jmp 0x41fc84