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

Disassembly:
sub esp, 0x468
mov eax, dword [ecx + 0xcc]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x24], ecx
je 0x41eeb7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret 8
mov esi, dword [esp + 0x47c]
push 0x4aa450
push esi
call fcn.00487980
add esp, 4
push eax
call fcn.00493480
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x41ef06
push esi
call fcn.00487980
add esp, 4
push eax
push 0x1b6
push str.C:Documents_and_SettingsBlitwiseDesktopPocket_Tanks_SVNengine_srcimage.cpp
push str.fopen_failed_in__s_at_line__d_while_attempting_to_open__s_n
call fcn.00493830
add esp, 0x10
push 1
call fcn.00493540
add esp, 4
push ebp
call fcn.00493180
add esp, 4
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x36]
push ebp
push 2
push 1
push eax
call fcn.00493000
add esp, 0x10
lea ecx, [esp + 0x36]
push 2
push 0x4aa708
push ecx
call fcn.004938c0
add esp, 0xc
test eax, eax
je 0x41ef5a
push esi
push str.File_is_not_a_Windows_BMP_file:__s_n
call fcn.00493830
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret 8
push ebp
call fcn.00487830
add esp, 4
push ebp
call fcn.004877f0
add esp, 4
push ebp
call fcn.004877f0
add esp, 4
push ebp
call fcn.00487830
add esp, 4
mov dword [esp + 0x30], eax
push ebp
call fcn.00487830
add esp, 4
cmp eax, 0xc
mov dword [esp + 0x40], eax
push ebp
jne 0x41efd5
call fcn.004877f0
add esp, 4
movsx edi, ax
push ebp
mov dword [esp + 0x20], edi
call fcn.004877f0
add esp, 4
movsx edx, ax
push ebp
mov dword [esp + 0x3c], edx
call fcn.004877f0
add esp, 4
push ebp
call fcn.004877f0
movsx esi, ax
add esp, 4
xor ebx, ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebx
jmp 0x41f045
call fcn.00487830
add esp, 4
mov edi, eax
mov dword [esp + 0x1c], edi
push ebp
call fcn.00487830
add esp, 4
mov dword [esp + 0x38], eax
push ebp
call fcn.004877f0
add esp, 4
push ebp
call fcn.004877f0
add esp, 4
movsx esi, ax
push ebp
mov dword [esp + 0x14], esi
call fcn.00487830
add esp, 4
mov ebx, eax
push ebp
call fcn.00487830
add esp, 4
push ebp
call fcn.00487830
add esp, 4
push ebp
call fcn.00487830
add esp, 4
push ebp
call fcn.00487830
add esp, 4
mov dword [esp + 0x3c], eax
push ebp
call fcn.00487830
add esp, 4
mov eax, esi
dec eax
je 0x41f059
sub eax, 3
je 0x41f059
mov dword [esp + 0x18], 0
jmp 0x41f066
mov dword [esp + 0x18], esi
mov esi, 8
mov dword [esp + 0x10], esi
lea eax, [esi - 1]
cmp eax, 0x1f
mov dword [esp + 0x14], eax
ja case.0x41f07a.7
xor ecx, ecx
mov cl, byte [eax + 0x41f4fc]
jmp dword [ecx*4 + 0x41f4e0]
mov dword [esp + 0x20], edi
jmp case.0x41f07a.7
lea edx, [edi + edi]
mov dword [esp + 0x20], edx
jmp case.0x41f07a.7
lea eax, [edi + edi*2]
mov dword [esp + 0x20], eax
jmp case.0x41f07a.7
lea ecx, [edi*4]
mov dword [esp + 0x20], ecx
xor edi, edi
xor esi, esi
xor eax, eax
test ebx, ebx
je 0x41f0f4
cmp ebx, 3
je 0x41f0c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret 8
mov ecx, dword [esp + 0x10]
cmp ecx, 0xf
jl case.0x41f108.18
cmp ecx, 0x10
jle 0x41f0d3
cmp ecx, 0x20
jne case.0x41f108.18
push ebp
call fcn.00487830
add esp, 4
mov edi, eax
push ebp
call fcn.00487830
add esp, 4
mov esi, eax
push ebp
call fcn.00487830
add esp, 4
jmp case.0x41f108.18
mov edx, dword [esp + 0x10]
lea ecx, [edx - 0xf]
cmp ecx, 0x11
ja case.0x41f108.18
xor edx, edx
mov dl, byte [ecx + 0x41f52c]
jmp dword [edx*4 + 0x41f51c]
mov edi, 0x7c00
mov esi, 0x3e0
mov eax, 0x1f
jmp case.0x41f108.18
mov eax, 0xff
mov esi, 0xff00
mov edi, 0xff0000
mov ecx, dword [esp + 0x14]
cmp ecx, 0x1f
ja case.0x41f140.6
xor edx, edx
mov dl, byte [ecx + 0x41f55c]
jmp dword [edx*4 + 0x41f540]
mov dword [esp + 0x14], 8
jmp case.0x41f140.6
mov dword [esp + 0x14], 0x10
jmp case.0x41f140.6
mov dword [esp + 0x14], 0x18
jmp case.0x41f140.6
mov dword [esp + 0x14], 0x20
mov ecx, esi
mov esi, dword [esp + 0x14]
mov edx, eax
cmp esi, 8
mov eax, edi
jne 0x41f18b
mov eax, 0xff0000
mov ecx, 0xff00
mov edx, 0xff
mov dword [esp + 0x44], esi
xor esi, esi
xor edi, edi
mov dword [esp + 0x48], eax
test al, 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
jne 0x41f1b6
test eax, eax
je 0x41f1ae
shr eax, 1
inc edi
test al, 1
je 0x41f1a3
test al, 1
mov dword [esp + 0x50], edi
je 0x41f1c1
shr eax, 1
inc esi
test al, 1
jne 0x41f1b6
mov dword [esp + 0x4c], esi
mov eax, 8
mov dword [esp + 0x58], ecx
sub eax, esi
xor esi, esi
mov dword [esp + 0x54], eax
xor eax, eax
test cl, 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
jne 0x41f1f6
test ecx, ecx
je 0x41f1ed
shr ecx, 1
inc esi
test cl, 1
je 0x41f1e1
test cl, 1
mov dword [esp + 0x60], esi
je 0x41f202
shr ecx, 1
inc eax
test cl, 1
jne 0x41f1f6
mov dword [esp + 0x5c], eax
mov ecx, 8
mov dword [esp + 0x68], edx
sub ecx, eax
xor eax, eax
mov dword [esp + 0x64], ecx
xor ecx, ecx
test dl, 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
jne 0x41f237
test edx, edx
je 0x41f22e
shr edx, 1
inc ecx
test dl, 1
je 0x41f222
test dl, 1
mov dword [esp + 0x70], ecx
je 0x41f243
shr edx, 1
inc eax
test dl, 1
jne 0x41f237
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov edx, 8
sub edx, eax
lea eax, [esp + 0x44]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0041eb10
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
cmp dword [esp + 0x14], 8
jg 0x41f30e
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x41f293
mov ecx, dword [esp + 0x10]
mov edi, 1
shl edi, cl
cmp dword [esp + 0x40], 0xc
jne 0x41f2d1
test edi, edi
jle 0x41f30e
lea esi, [esp + 0x79]
push ebp
call fcn.004877d0
add esp, 4
mov byte [esi + 1], al
push ebp
call fcn.004877d0
add esp, 4
mov byte [esi], al
push ebp
call fcn.004877d0
mov byte [esi - 1], al
mov byte [esi + 2], 0
add esp, 4
add esi, 4
dec edi
jne 0x41f2a2
jmp 0x41f30e
test edi, edi
jle 0x41f30e
lea esi, [esp + 0x79]
push ebp
call fcn.004877d0
add esp, 4
mov byte [esi + 1], al
push ebp
call fcn.004877d0
add esp, 4
mov byte [esi], al
push ebp
call fcn.004877d0
add esp, 4
mov byte [esi - 1], al
push ebp
call fcn.004877d0
mov byte [esi + 2], al
add esp, 4
add esi, 4
dec edi
jne 0x41f2d9
mov edi, dword [esp + 0x480]
test edi, edi
je 0x41f324
mov ecx, 0x100
lea esi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add eax, ecx
push 0
push eax
push ebp
call fcn.00493360
mov edi, dword [ebx + 8]
mov ecx, dword [esp + 0x24]
imul edi, dword [ebx + 0x1c]
mov esi, dword [ebx]
mov eax, ecx
add esp, 0xc
add edi, esi
dec eax
je 0x41f372
sub eax, 3
je 0x41f372
mov eax, dword [esp + 0x20]
cdq
xor eax, edx
sub eax, edx
and eax, 3
xor eax, edx
sub eax, edx
je 0x41f39e
mov ecx, 4
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x41f3a6
mov eax, 8
cdq
idiv ecx
mov ecx, eax
mov eax, dword [esp + 0x1c]
cdq
idiv ecx
cdq
xor eax, edx
sub eax, edx
and eax, 3
xor eax, edx
sub eax, edx
je 0x41f39e
mov ecx, 4
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x41f3a6
mov dword [esp + 0x10], 0
cmp edi, esi
jbe 0x41f458
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov esi, dword [edx + 0x1c]
sub edi, esi
dec eax
je 0x41f3d6
sub eax, 3
je 0x41f3d6
mov eax, dword [esp + 0x20]
push ebp
push 1
push eax
push edi
call fcn.00493000
add esp, 0x10
jmp 0x41f42d
mov ecx, dword [esp + 0x18]
mov eax, 8
sub eax, ecx
xor bl, bl
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
xor esi, esi
test eax, eax
jle 0x41f42d
mov eax, 8
cdq
idiv ecx
mov dword [esp + 0x2c], eax
mov eax, esi
cdq
idiv dword [esp + 0x2c]
test edx, edx
jne 0x41f413
push ebp
call fcn.004877d0
add esp, 4
mov bl, al
mov cl, byte [esp + 0x30]
mov dl, bl
mov eax, dword [esp + 0x1c]
shr dl, cl
mov cl, byte [esp + 0x18]
shl bl, cl
mov byte [edi + esi], dl
inc esi
cmp esi, eax
jl 0x41f3fd
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41f44c
jle 0x41f44c
push ebp
push 1
lea eax, [esp + 0x33]
push 1
push eax
call fcn.00493000
add esp, 0x10
dec esi
jne 0x41f437
mov ecx, dword [esp + 0x24]
cmp edi, dword [ecx]
ja 0x41f3ae
push ebp
call fcn.00492f50
mov esi, dword [esp + 0x28]
add esp, 4
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x41f478
push eax
call fcn.00492890
add esp, 4
mov ebx, dword [esp + 0x47c]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00492900
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xc8], edx
jne 0x41f4ac
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret 8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret 8