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

Disassembly:
sub esp, 0x4dc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4f4]
push edi
push 1
push str..LST
push esi
call fcn.0042b1a0
mov ebp, dword [esp + 0x4fc]
add esp, 0xc
test eax, eax
je 0x41c324
mov esi, dword [esp + 0x4f4]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push eax
push esi
push ebp
mov word [esp + 0x3c], ax
call fcn.0050b283
add esp, 0xc
test ebp, ebp
je 0x41c4ff
push ebp
push 4
lea ecx, [esp + 0x30]
push 1
push ecx
call fcn.0050b0c8
mov al, byte [esp + 0x38]
add esp, 0x10
cmp al, 0x42
jne 0x41c2e7
cmp byte [esp + 0x29], 0x4d
jne 0x41c2e7
mov edx, dword [str..BMP]
mov al, byte [0x5c4924]
jmp 0x41c30e
lea ecx, [esp + 0x28]
push 1
push ecx
push 0x5c491c
call fcn.0042b1a0
add esp, 0xc
test eax, eax
je 0x41cd0c
mov edx, dword [str..LBT]
mov al, byte [0x5c4918]
push 0
push esi
push ebp
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], al
call fcn.0050b283
add esp, 0xc
jmp 0x41c336
lea edx, [esp + 0x28]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41c32c
push 1
lea edx, [esp + 0x2c]
push str..BMP
push edx
call fcn.0042b1a0
mov ebx, dword [esp + 0x508]
add esp, 0xc
test eax, eax
je 0x41c4a4
push ebp
push 1
lea eax, [esp + 0x40]
push 2
push eax
call fcn.0050b0c8
push ebp
push 1
lea ecx, [esp + 0x54]
push 4
push ecx
call fcn.0050b0c8
push ebp
push 1
lea edx, [esp + 0x68]
push 2
push edx
call fcn.0050b0c8
push ebp
push 1
lea eax, [esp + 0x7a]
push 2
push eax
call fcn.0050b0c8
add esp, 0x40
lea ecx, [esp + 0x44]
push ebp
push 1
push 4
push ecx
call fcn.0050b0c8
push ebp
push 1
lea edx, [esp + 0x60]
push 4
push edx
call fcn.0050b0c8
push ebp
push 1
lea eax, [esp + 0x74]
push 4
push eax
call fcn.0050b0c8
push ebp
push 1
lea ecx, [esp + 0x88]
push 4
push ecx
call fcn.0050b0c8
add esp, 0x40
lea edx, [esp + 0x54]
push ebp
push 1
push 2
push edx
call fcn.0050b0c8
push ebp
push 1
lea eax, [esp + 0x6e]
push 2
push eax
call fcn.0050b0c8
push ebp
push 1
lea ecx, [esp + 0x80]
push 4
push ecx
call fcn.0050b0c8
push ebp
push 1
lea edx, [esp + 0x94]
push 4
push edx
call fcn.0050b0c8
add esp, 0x40
lea eax, [esp + 0x60]
push ebp
push 1
push 4
push eax
call fcn.0050b0c8
push ebp
push 1
lea ecx, [esp + 0x7c]
push 4
push ecx
call fcn.0050b0c8
push ebp
push 1
lea edx, [esp + 0x90]
push 4
push edx
call fcn.0050b0c8
push ebp
push 1
lea eax, [esp + 0xa4]
push 4
push eax
call fcn.0050b0c8
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x96]
add esp, 0x40
cmp cx, 8
mov dword [ebx + 0x24], edx
ja 0x41c49d
mov esi, dword [esp + 0x68]
test esi, esi
jne 0x41c605
mov esi, 1
shl esi, cl
jmp 0x41c605
xor esi, esi
jmp 0x41c605
push 1
lea eax, [esp + 0x2c]
push str..LBT
push eax
call fcn.0042b1a0
add esp, 0xc
test eax, eax
je 0x41c540
push ebp
push 1
lea ecx, [esp + 0x40]
push 0x10
push ecx
call fcn.0050b0c8
push 1
lea edx, [esp + 0x4c]
push 0x5c4910
push edx
call fcn.0042b1a0
add esp, 0x1c
test eax, eax
jne 0x41c518
push 1
lea eax, [esp + 0x3c]
push 0x5c491c
push eax
call fcn.0042b1a0
add esp, 0xc
test eax, eax
jne 0x41c518
mov ecx, dword [esp + 0x4fc]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x38], 0
pop ebx
add esp, 0x4dc
ret
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
xor ecx, ecx
cmp esi, 8
mov dword [ebx + 0x20], edx
setne cl
dec ecx
mov dword [ebx + 0x24], eax
and ecx, 0x100
mov esi, ecx
jmp 0x41c605
push 1
lea edx, [esp + 0x2c]
push str..LBM
push edx
call fcn.0042b1a0
add esp, 0xc
test eax, eax
je 0x41c601
push ebp
push 1
lea eax, [esp + 0x50]
push 0x1c
push eax
call fcn.0050b0c8
mov ecx, dword [esp + 0x6c]
lea edx, [ecx*8]
push edx
call fcn.0050a4f5
mov ecx, dword [esp + 0x70]
push ebp
mov dword [esp + 0x28], eax
lea edx, [ecx + ecx]
push edx
push 4
push eax
call fcn.0050b0c8
push ebp
push 1
lea eax, [esp + 0x64]
push 0xe
push eax
call fcn.0050b0c8
mov ecx, dword [esp + 0x76]
mov eax, dword [esp + 0x94]
add esp, 0x34
test eax, eax
lea esi, [ecx - 0xe]
je 0x41c5bb
sub esi, 0x400
push esi
call fcn.0050a4f5
push ebp
mov edi, eax
push esi
push 1
push edi
call fcn.0050b0c8
mov edx, dword [edi + 4]
xor ecx, ecx
mov dword [ebx + 0x20], edx
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x24], eax
cmp word [edi + 0xe], 8
push edx
setne cl
dec ecx
and ecx, 0x100
mov esi, ecx
call fcn.0050a62f
push edi
call fcn.0050a62f
add esp, 0x1c
jmp 0x41c605
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0
push eax
push ecx
call fcn.0041f2b0
mov edx, eax
add esp, 0x14
test edx, edx
mov dword [ebx + 0x38], edx
je 0x41c767
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x70]
push 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x74]
push 0
mov dword [esp + 0x78], 0x7c
mov eax, dword [edx]
push ecx
push 0
push edx
call dword [eax + 0x64]
xor edi, edi
mov dword [0x7e2508], eax
cmp eax, edi
jne 0x41caa1
mov eax, dword [0x5c45c8]
cmp esi, edi
je 0x41cac3
cmp eax, edi
jne 0x41c778
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0xec]
mov dword [ebx + 0x28], ecx
rep stosd dword es:[edi], eax
xor edi, edi
test esi, esi
jle 0x41c6f8
push ebp
push 1
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.0050b0c8
push ebp
push 1
lea ecx, [esp + 0x3c]
push 1
push ecx
call fcn.0050b0c8
push ebp
push 1
lea edx, [esp + 0x48]
push 1
push edx
call fcn.0050b0c8
push ebp
push 1
lea eax, [esp + 0x53]
push 1
push eax
call fcn.0050b0c8
mov cl, byte [esp + 0x60]
mov dl, byte [esp + 0x64]
mov al, byte [esp + 0x74]
add esp, 0x40
mov byte [esp + edi*4 + 0xec], cl
mov byte [esp + edi*4 + 0xed], dl
mov byte [esp + edi*4 + 0xee], al
inc edi
cmp edi, esi
jl 0x41c68b
cmp edi, 0x100
jge 0x41c70a
mov al, 0x80
mov byte [esp + edi*4 + 0xef], al
inc edi
cmp edi, 0x100
jl 0x41c6fa
push 0x400
call fcn.0050a4f5
mov ecx, 0x100
lea esi, [esp + 0xf0]
mov edi, eax
mov dword [ebx + 0x58], eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x24]
add esp, 4
xor esi, esi
test eax, eax
jle 0x41cc58
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x94]
imul edx, esi
mov ecx, dword [ebx + 0x20]
push ebp
push 1
add edx, eax
push ecx
push edx
call fcn.0050b0c8
mov eax, dword [ebx + 0x24]
add esp, 0x10
inc esi
cmp esi, eax
jl 0x41c737
jmp 0x41cc58
mov dword [0x7e2508], 0
xor edi, edi
jmp 0x41c65d
cmp eax, 1
jl 0x41c899
cmp eax, 5
jg 0x41c899
lea eax, [esi + esi]
push eax
call fcn.0050a4f5
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x20], eax
push ecx
call fcn.0050a4f5
add esp, 8
xor edi, edi
test esi, esi
mov dword [esp + 0x10], eax
jle 0x41c812
push ebp
push 1
lea edx, [esp + 0x3c]
push 1
push edx
call fcn.0050b0c8
push ebp
push 1
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.0050b0c8
push ebp
push 1
lea ecx, [esp + 0x48]
push 1
push ecx
call fcn.0050b0c8
push ebp
push 1
lea edx, [esp + 0x53]
push 1
push edx
call fcn.0050b0c8
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
add esp, 0x40
push 0
push eax
push ecx
push edx
call fcn.0041f710
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov word [ecx + edi*2], ax
inc edi
cmp edi, esi
jl 0x41c7ad
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x41c87d
mov ecx, dword [ebx + 0x20]
mov esi, dword [esp + 0x10]
push ebp
push 1
push ecx
push esi
call fcn.0050b0c8
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0xa4]
imul edi, dword [esp + 0x24]
mov ecx, dword [ebx + 0x20]
add edi, eax
add esp, 0x10
xor eax, eax
test ecx, ecx
jle 0x41c86d
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
mov cx, word [edx + ecx*2]
mov word [edi + eax*2 - 2], cx
mov ecx, dword [ebx + 0x20]
cmp eax, ecx
jl 0x41c857
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0x24]
inc eax
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x41c828
mov edx, dword [esp + 0x1c]
push edx
call fcn.0050a62f
mov eax, dword [esp + 0x14]
push eax
call fcn.0050a62f
add esp, 8
jmp 0x41cc58
cmp eax, 6
jne 0x41c99b
lea ecx, [esi + esi*2]
push ecx
call fcn.0050a4f5
mov edx, dword [ebx + 0x20]
mov edi, eax
push edx
mov dword [esp + 0x24], edi
call fcn.0050a4f5
add esp, 8
mov dword [esp + 0x10], eax
test esi, esi
jle 0x41c907
add edi, 2
push ebp
push 1
lea eax, [edi - 2]
push 1
push eax
call fcn.0050b0c8
push ebp
push 1
lea ecx, [edi - 1]
push 1
push ecx
call fcn.0050b0c8
push ebp
push 1
push 1
push edi
call fcn.0050b0c8
push ebp
push 1
lea edx, [esp + 0x53]
push 1
push edx
call fcn.0050b0c8
add esp, 0x40
add edi, 3
dec esi
jne 0x41c8c8
mov eax, dword [ebx + 0x24]
xor esi, esi
test eax, eax
mov dword [esp + 0x14], esi
jle 0x41c97f
mov eax, dword [ebx + 0x20]
push ebp
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.0050b0c8
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0xa4]
imul ecx, esi
mov eax, dword [ebx + 0x20]
add ecx, edi
add esp, 0x10
xor edi, edi
test eax, eax
jle 0x41c973
mov edx, dword [esp + 0x10]
xor eax, eax
mov al, byte [edx + edi]
mov edx, dword [esp + 0x1c]
lea edx, [edx + eax*2]
add eax, edx
mov edx, ecx
add ecx, 3
inc edi
mov si, word [eax]
mov word [edx], si
mov al, byte [eax + 2]
mov byte [edx + 2], al
mov eax, dword [ebx + 0x20]
cmp edi, eax
jl 0x41c944
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x24]
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x41c917
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0050a62f
mov edx, dword [esp + 0x14]
push edx
call fcn.0050a62f
add esp, 8
jmp 0x41cc58
cmp eax, 7
jne 0x41ca94
lea eax, [esi*4]
push eax
call fcn.0050a4f5
mov ecx, dword [ebx + 0x20]
mov edi, eax
push ecx
mov dword [esp + 0x24], edi
call fcn.0050a4f5
add esp, 8
mov dword [esp + 0x10], eax
test esi, esi
jle 0x41ca0d
add edi, 2
push ebp
push 1
lea edx, [edi - 2]
push 1
push edx
call fcn.0050b0c8
push ebp
push 1
lea eax, [edi - 1]
push 1
push eax
call fcn.0050b0c8
push ebp
push 1
push 1
push edi
call fcn.0050b0c8
push ebp
push 1
lea ecx, [esp + 0x53]
push 1
push ecx
call fcn.0050b0c8
add esp, 0x40
add edi, 4
dec esi
jne 0x41c9ce
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x41ca78
mov ecx, dword [ebx + 0x20]
mov esi, dword [esp + 0x10]
push ebp
push 1
push ecx
push esi
call fcn.0050b0c8
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0xa4]
imul eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x20]
add eax, edi
add esp, 0x10
xor edi, edi
test ecx, ecx
jle 0x41ca68
mov edx, dword [esp + 0x1c]
xor ecx, ecx
add eax, 4
mov cl, byte [esi + edi]
inc edi
mov ecx, dword [edx + ecx*4]
mov dword [eax - 4], ecx
mov ecx, dword [ebx + 0x20]
cmp edi, ecx
jl 0x41ca52
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0x24]
inc eax
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x41ca23
mov edx, dword [esp + 0x1c]
push edx
call fcn.0050a62f
mov eax, dword [esp + 0x14]
push eax
call fcn.0050a62f
add esp, 8
jmp 0x41cc58
mov eax, dword [ebx + 0x38]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebx + 0x38]
cmp eax, edi
je 0x41cd09
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x38], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4dc
ret
cmp eax, 1
jl 0x41cb7b
cmp eax, 5
jg 0x41cb7b
mov eax, dword [ebx + 0x20]
lea eax, [eax + eax*2]
push eax
mov dword [esp + 0x24], eax
call fcn.0050a4f5
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
add esp, 4
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x41cb71
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x94]
imul esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add esi, edi
mov edi, dword [esp + 0x20]
push ebp
push 1
push edi
push eax
call fcn.0050b0c8
add esp, 0x10
test edi, edi
jle 0x41cb61
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
sub eax, ecx
lea edi, [ecx + 1]
mov dword [esp + 0x24], eax
mov cl, byte [edi - 1]
mov dl, byte [edi]
mov al, byte [edi + 1]
push 0
push ecx
push edx
push eax
call fcn.0041f710
mov ecx, dword [esp + 0x34]
add edi, 3
mov word [esi], ax
mov eax, dword [esp + 0x30]
add ecx, edi
add esp, 0x10
add esi, 2
cmp ecx, eax
jl 0x41cb35
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41caf7
mov edx, dword [esp + 0x10]
push edx
jmp 0x41cc50
cmp eax, 6
jne 0x41cbc0
mov eax, dword [ebx + 0x20]
xor esi, esi
lea edi, [eax + eax*2]
mov eax, dword [ebx + 0x24]
test eax, eax
jle 0x41cc58
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x94]
imul eax, esi
push ebp
push 1
add eax, edx
push edi
push eax
call fcn.0050b0c8
mov eax, dword [ebx + 0x24]
add esp, 0x10
inc esi
cmp esi, eax
jl 0x41cb93
jmp 0x41cc58
cmp eax, 7
jne 0x41ccec
mov esi, dword [ebx + 0x20]
lea esi, [esi + esi*2]
push esi
call fcn.0050a4f5
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
add esp, 4
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x41cc4b
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x10]
imul edi, dword [esp + 0x14]
mov eax, dword [esp + 0x94]
push ebp
push 1
push esi
push ecx
add edi, eax
call fcn.0050b0c8
add esp, 0x10
test esi, esi
jle 0x41cc3b
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
sub ecx, edx
lea eax, [edx + 1]
mov dl, byte [eax - 1]
add eax, 3
mov byte [edi], dl
mov dl, byte [eax - 3]
inc edi
mov byte [edi], dl
mov dl, byte [eax - 2]
inc edi
mov byte [edi], dl
lea edx, [ecx + eax]
add edi, 2
cmp edx, esi
jl 0x41cc1d
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41cbe7
mov eax, dword [esp + 0x10]
push eax
call fcn.0050a62f
add esp, 4
mov eax, dword [ebx + 0x38]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [0x5c45c8]
test eax, eax
jne 0x41cd0c
mov edx, dword [0x5d5764]
mov dword [esp + 0x1c], 0
push 0
mov eax, dword [edx + 0x6ec]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0xf4]
mov ecx, dword [eax]
push edx
push 0x44
push eax
call dword [ecx + 0x14]
test eax, eax
mov dword [0x7e2508], eax
jne 0x41cd0c
mov ebx, dword [ebx + 0x38]
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
mov eax, dword [ebx]
call dword [eax + 0x7c]
mov dword [0x7e2508], eax
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x41ccd7
test eax, eax
je 0x41cd0c
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4dc
ret
test eax, eax
je 0x41cd0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4dc
ret
mov eax, dword [ebx + 0x38]
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebx + 0x38]
cmp eax, edi
je 0x41cd09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x38], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4dc
ret