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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov cl, byte [edx + eax]
inc eax
mov byte [ebp - 0x10], cl
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
cmp ecx, 0xff
mov dword [esi + 0x84], ecx
jl 0x4135a0
lea ecx, [eax + 2]
lea edi, [esi + 0x90]
mov dword [esi + 4], ecx
xor ecx, ecx
mov ch, byte [eax + edx + 1]
mov cl, byte [eax + edx]
mov eax, dword [esi + 0x88]
cmp eax, edi
mov dword [esi + 0x84], ecx
je 0x413573
push eax
call 0x3fb7ce
add esp, 4
mov edx, dword [esi + 0x84]
lea eax, [edx*4 + 4]
push eax
call 0x3fb7be
add esp, 4
mov dword [esi + 0x88], eax
test eax, eax
jne 0x4135a0
mov dword [esi + 0x88], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x88]
mov edi, 1
mov dword [ebp - 4], edi
mov dword [ecx], 0
mov eax, dword [esi + 0x84]
cmp eax, edi
jl 0x4138fa
jmp 0x4135c7
mov edi, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x51c]
call 0x3fb6de
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x28], ebx
je 0x413974
mov edx, dword [esi + 0x78]
mov ecx, ebx
push edx
call fcn.0040333e
mov eax, dword [esi + 0x44]
mov ecx, dword [eax]
mov dword [ebx + 8], ecx
mov edx, dword [esi + 0x44]
mov dword [edx], ebx
mov eax, dword [esi + 0x88]
mov dword [eax + edi*4], ebx
mov ecx, dword [esi + 0x7c]
add ecx, edi
mov dword [ebx + 0xc], ecx
mov eax, dword [esi + 4]
mov edi, dword [esi]
inc eax
mov dl, byte [edi + eax - 1]
mov dword [esi + 4], eax
mov byte [ebp - 0x44], dl
mov ecx, dword [ebp - 0x44]
and ecx, 0xff
test cl, 0x10
mov dword [ebp - 0xc], ecx
je 0x413796
lea eax, [ebp - 0x74]
mov dword [ebx + 0x30], ecx
xor edi, edi
push eax
mov ecx, esi
mov byte [ebx + 0x16], 2
mov dword [ebx + 0x90], edi
call fcn.0041293e
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, esi
call fcn.0041293e
mov eax, dword [esi + 0x74]
lea edx, [ebx + 0x34]
push edx
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x74]
push ecx
push edx
call 0x3fc6be
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add esp, 0x10
mov cl, byte [eax + ecx]
inc eax
mov dword [esi + 4], eax
lea eax, [ebx + 0x64]
test cl, cl
mov dword [ebp - 0x10], eax
mov byte [eax], cl
jbe 0x41375b
add ebx, 0x70
mov dword [ebp - 0x20], ebx
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov cl, byte [eax + edx]
mov edx, dword [esi + 0xc98]
inc eax
mov byte [ebp - 0x40], cl
mov dword [esi + 4], eax
lea eax, [ebp - 0x34]
push edx
push eax
mov ecx, esi
call fcn.0041288e
mov ecx, dword [eax]
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [ebp - 0x14], ecx
mov cl, byte [eax + edx]
mov edx, dword [esi + 0xc98]
inc eax
mov byte [ebp - 0x3c], cl
mov dword [esi + 4], eax
lea eax, [ebp - 0x2c]
push edx
push eax
mov ecx, esi
call fcn.0041288e
mov ecx, dword [eax]
mov eax, dword [ebp - 0x3c]
mov edx, dword [esi + 0x74]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x40]
and eax, 0xff
and ecx, 0xff
mov dword [ebp - 0xc], edx
sub eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x1c]
imul ebx
shrd eax, edx, 0x10
adc eax, 0
mov dword [ebp - 8], eax
mov bl, byte [ebp - 8]
lea eax, [ebp - 0x18]
add cl, bl
mov ebx, dword [ebp - 0x28]
mov byte [ebx + edi + 0x65], cl
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi + 0x74]
push ecx
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
call 0x3fc89e
mov cl, byte [ebp - 0x11]
mov al, 0xff
add esp, 0x10
cmp cl, al
jb 0x41373b
cmp byte [ebp - 0x15], al
jae 0x41373f
mov byte [ebx + 0x14], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
xor edx, edx
inc edi
mov dl, byte [eax]
add ecx, 4
cmp edi, edx
mov dword [ebp - 0x20], ecx
jl 0x41368f
mov ebx, dword [ebp - 0x28]
mov ecx, dword [esi + 0x60]
lea edi, [esi + 0x60]
test ecx, ecx
je 0x4138dd
push eax
mov ecx, edi
call fcn.0040a13e
cmp dword [edi], 0
je 0x4138dd
cmp word [edi + 4], 0x100
jl 0x41378d
cmp word [edi + 6], 0
jge 0x4138dd
mov byte [ebx + 0x14], 1
jmp 0x4138dd
test cl, 0x40
je 0x413841
lea ecx, [eax + 2]
xor edx, edx
mov dword [esi + 4], ecx
mov dh, byte [eax + edi + 1]
mov dl, byte [eax + edi]
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
mov edi, edx
call fcn.0041293e
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, esi
call fcn.0041293e
lea edx, [ebx + 0x38]
lea eax, [ebp - 0x5c]
push edx
push 0
lea ecx, [ebp - 0x74]
push eax
push ecx
call 0x3fc6be
mov ecx, dword [esi + 0x3c]
add esp, 0x10
push edi
call fcn.0041673e
mov ecx, 0xff
mov word [ebx + 0x26], cx
mov word [ebx + 0x24], cx
xor ecx, ecx
cmp eax, ecx
mov word [ebx + 0x20], cx
mov word [ebx + 0x22], cx
je 0x4138dd
cmp byte [eax + 0xa], 1
jne 0x4138dd
mov cx, word [ebp - 0xc]
lea edx, [eax + 0x24]
mov word [ebx + 0x30], cx
mov dword [ebx + 0x34], edx
mov edx, dword [ebp - 0x24]
add esi, 0x60
lea edi, [ebx + 0x68]
mov ecx, 5
mov byte [ebx + 0x16], 1
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x3c]
call fcn.00414e2e
mov esi, dword [ebp - 0x24]
jmp 0x4138dd
mov eax, dword [esi + 0xc98]
lea ecx, [ebp - 0x84]
push eax
push ecx
mov ecx, esi
call fcn.0041281e
mov edx, dword [esi + 0xc98]
lea eax, [ebp - 0x7c]
push edx
push eax
mov ecx, esi
call fcn.0041281e
mov ecx, dword [esi + 0x74]
lea edi, [ebx + 0x20]
push edi
lea edx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x84]
push edx
push eax
call 0x3fc7ce
mov eax, dword [esi + 0x60]
lea ecx, [esi + 0x60]
add esp, 0x10
test eax, eax
je 0x413895
push 1
push edi
call fcn.0040a00e
xor eax, eax
mov ax, word [edi + 6]
cmp eax, 0xff
jge 0x4138d8
xor ecx, ecx
inc eax
mov cx, word [edi + 4]
xor edx, edx
imul ecx, eax
mov dx, word [edi + 2]
sar ecx, 8
imul edx, eax
mov word [edi + 4], cx
xor ecx, ecx
mov cx, word [edi]
imul ecx, eax
sar edx, 8
sar ecx, 8
mov word [edi + 2], dx
mov word [edi], cx
mov eax, 1
jmp 0x4138da
xor eax, eax
mov byte [ebx + 0x14], al
push ebx
mov ecx, esi
call fcn.00412ebe
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x84]
inc eax
cmp eax, ecx
mov dword [ebp - 4], eax
jle 0x4135c4
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov cl, byte [edx + eax]
inc eax
mov byte [ebp - 8], cl
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov dword [esi + 4], eax
cmp ecx, 0xff
mov dword [esi + 0x80], ecx
jl 0x41397d
lea ecx, [eax + 2]
lea edi, [esi + 0x490]
mov dword [esi + 4], ecx
xor ecx, ecx
mov ch, byte [eax + edx + 1]
mov cl, byte [eax + edx]
mov eax, dword [esi + 0x8c]
cmp eax, edi
mov dword [esi + 0x80], ecx
je 0x41394e
push eax
call 0x3fb7ce
add esp, 4
mov edx, dword [esi + 0x80]
lea eax, [edx*8 + 8]
push eax
call 0x3fb7be
add esp, 4
mov dword [esi + 0x8c], eax
test eax, eax
jne 0x41397d
mov dword [esi + 0x8c], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x8c]
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ecx], 0
mov edx, dword [esi + 0x8c]
mov dword [edx + 4], 0
mov ecx, dword [esi + 0x80]
cmp ecx, eax
jl 0x413b14
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x51c]
call 0x3fb6de
mov edi, eax
test edi, edi
je 0x413974
mov eax, dword [esi + 0x78]
mov ecx, edi
push eax
call fcn.0040333e
mov ecx, dword [esi + 0x44]
xor ebx, ebx
mov edx, dword [ecx]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x44]
mov edx, dword [ebp - 4]
mov dword [eax], edi
mov ecx, dword [esi + 0x8c]
mov dword [ecx + edx*8], edi
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea edx, [ecx + 2]
mov dword [esi + 4], edx
mov bh, byte [eax + ecx + 1]
mov bl, byte [eax + ecx]
mov ecx, ebx
lea ebx, [edx + 2]
mov dword [esi + 4], ebx
mov ebx, dword [esi + 0x74]
mov dword [ebp - 0xc], ebx
xor ebx, ebx
mov bh, byte [edx + eax + 1]
and ecx, 0xffff
mov bl, byte [edx + eax]
sub ebx, ecx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
imul ebx
shrd eax, edx, 0x10
adc eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add ecx, eax
and ecx, 0xffff
push ecx
lea ecx, [esi + 0x48]
push ecx
call 0x3facfe
mov edx, dword [esi + 0x8c]
mov ecx, dword [ebp - 4]
add esp, 8
mov dword [edx + ecx*8 + 4], eax
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0x84]
add eax, edx
lea edx, [ebp - 0x38]
add eax, ecx
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0xc98]
push ecx
push edx
mov ecx, esi
call fcn.0041281e
mov eax, dword [esi + 0xc98]
lea ecx, [ebp - 0x30]
push eax
push ecx
mov ecx, esi
call fcn.0041281e
mov edx, dword [esi + 0x74]
lea ebx, [edi + 0x20]
push ebx
lea eax, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x38]
push eax
push ecx
call 0x3fc7ce
mov eax, dword [esi + 0x60]
lea ecx, [esi + 0x60]
add esp, 0x10
test eax, eax
je 0x413aaf
push 1
push ebx
call fcn.0040a00e
xor eax, eax
mov ax, word [ebx + 6]
cmp eax, 0xff
jge 0x413af2
xor edx, edx
inc eax
mov dx, word [ebx + 4]
xor ecx, ecx
imul edx, eax
mov cx, word [ebx + 2]
sar edx, 8
imul ecx, eax
mov word [ebx + 4], dx
xor edx, edx
mov dx, word [ebx]
imul edx, eax
sar ecx, 8
sar edx, 8
mov word [ebx + 2], cx
mov word [ebx], dx
mov eax, 1
jmp 0x413af4
xor eax, eax
push edi
mov ecx, esi
mov byte [edi + 0x14], al
call fcn.00412ebe
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x80]
inc eax
cmp eax, ecx
mov dword [ebp - 4], eax
jle 0x4139ac
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret