Function at 0x4b6d10
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61f6ce
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
test ebp, ebp
push edi
je 0x4b6d70
mov ecx, ebp
call fcn.00479960
test al, al
jne 0x4b6d94
mov al, byte [esp + 0xb0]
test al, al
je 0x4b6d70
call fcn.004f0590
test eax, eax
je 0x4b6d8d
mov edx, dword [eax]
push 0
push str.BMP:_Couldnt_save_invalid_image.
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.004f4290
add esp, 4
xor al, al
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0x14
mov eax, str.BMP:_Couldnt_save_invalid_image.
jmp 0x4b6d67
mov eax, dword [0x65329c]
lea ecx, [esp + 0x30]
push eax
push 0
push str.wxBMP_FORMAT
call fcn.004e9b90
lea ecx, [esp + 0x30]
mov dword [esp + 0xa0], 0
push ecx
mov ecx, ebp
call fcn.0047a1c0
mov edx, dword [esp + 0x30]
mov bl, al
or esi, 0xffffffff
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, esi
mov dword [esp + 0xa0], esi
je 0x4b6dec
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4b6dec
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
test bl, bl
je 0x4b6e85
mov eax, dword [0x65329c]
lea ecx, [esp + 0x18]
push eax
push 0
push str.wxBMP_FORMAT
call fcn.004e9b90
lea ecx, [esp + 0x18]
mov dword [esp + 0xa0], 1
push ecx
mov ecx, ebp
call fcn.0047a170
mov edx, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0xa0], esi
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, esi
je 0x4b6e4d
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4b6e4d
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
cmp edi, 1
je 0x4b6ee7
cmp edi, 2
je 0x4b6ee7
cmp edi, 4
jne 0x4b6e71
mov dword [esp + 0x14], 0x10
jmp 0x4b6ef4
cmp edi, 8
je 0x4b6e98
cmp edi, 9
je 0x4b6e98
cmp edi, 0xa
je 0x4b6e98
cmp edi, 0xb
je 0x4b6e9d
mov edi, 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], edi
jmp 0x4b6ef4
cmp edi, 0xb
jne 0x4b6ed8
mov ecx, ebp
call fcn.00479f60
test al, al
jne 0x4b6ed8
mov al, byte [esp + 0xb0]
test al, al
je 0x4b6d70
call fcn.004f0590
test eax, eax
je 0x4b6ece
mov edx, dword [eax]
push 0
push str.BMP:_wxImage_doesnt_have_own_wxPalette.
jmp 0x4b6d62
mov eax, str.BMP:_wxImage_doesnt_have_own_wxPalette.
jmp 0x4b6d67
mov edi, 8
mov dword [esp + 0x14], 0x100
jmp 0x4b6ef4
mov edi, 1
mov dword [esp + 0x14], 2
mov ecx, ebp
call fcn.00479690
mov ebx, eax
mov eax, edi
and eax, 0xffff
mov dword [esp + 0x5c], 0
imul eax, ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], ebx
fild qword [esp + 0x58]
fld qword [0x64def0]
fmul st(1)
call fcn.005b68b8
and eax, reloc.WSOCK32.dll_closesocket
jns 0x4b6f34
dec eax
or eax, 0xfffffffc
inc eax
mov esi, 4
sub esi, eax
and esi, reloc.WSOCK32.dll_closesocket
jns 0x4b6f48
dec esi
or esi, 0xfffffffc
inc esi
fmul qword [0x64dee8]
call fcn.005b68b8
mov ecx, dword [esp + 0x14]
sub esi, eax
mov dword [esp + 0x54], esi
mov word [esp + 0x60], 0x4d42
lea edx, [ecx*4]
mov ecx, ebp
mov dword [esp + 0x18], edx
call fcn.004796b0
mov ecx, eax
mov eax, dword [esp + 0x18]
imul ecx, esi
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0x28
lea edx, [ecx + eax + 0x36]
add eax, 0x36
mov ecx, ebp
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], eax
call fcn.00479690
mov dword [esp + 0x74], eax
mov al, byte [esp + 0xb4]
test al, al
mov ecx, ebp
je 0x4b6fbd
call fcn.004796b0
jmp 0x4b6fc4
call fcn.004796b0
add eax, eax
mov ecx, ebp
mov dword [esp + 0x78], eax
mov word [esp + 0x7c], 1
mov word [esp + 0x7e], di
mov dword [esp + 0x80], 0
call fcn.004796b0
imul eax, esi
mov dword [esp + 0x84], eax
mov eax, 0x48
mov edi, dword [esp + 0xac]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], eax
mov al, byte [esp + 0xb4]
test al, al
mov dword [esp + 0x94], 0
je 0x4b70c3
mov edx, dword [edi]
lea eax, [esp + 0x60]
push 2
push eax
mov ecx, edi
call dword [edx + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b7093
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b7093
mov eax, dword [edi]
lea ecx, [esp + 0x68]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b7093
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x4b70c3
mov al, byte [esp + 0xb0]
test al, al
je 0x4b6d70
call fcn.004f0590
test eax, eax
je 0x4b70b9
mov edx, dword [eax]
push 0
push str.BMP:_Couldnt_write_the_file__Bitmap__header.
jmp 0x4b6d62
mov eax, str.BMP:_Couldnt_write_the_file__Bitmap__header.
jmp 0x4b6d67
mov al, byte [esp + 0xb8]
test al, al
jne 0x4b723f
mov eax, dword [edi]
lea ecx, [esp + 0x70]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x74]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x78]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x7c]
push 2
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x7e]
push 2
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x80]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x84]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x88]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x90]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b720f
mov eax, dword [edi]
lea ecx, [esp + 0x94]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x4b723f
mov al, byte [esp + 0xb0]
test al, al
je 0x4b6d70
call fcn.004f0590
test eax, eax
je 0x4b7235
mov edx, dword [eax]
push 0
push str.BMP:_Couldnt_write_the_file__BitmapInfo__header.
jmp 0x4b6d62
mov eax, str.BMP:_Couldnt_write_the_file__BitmapInfo__header.
jmp 0x4b6d67
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], esi
je 0x4b72c7
cmp eax, 4
je 0x4b72c7
cmp eax, 8
je 0x4b72c7
cmp eax, 0xb
je 0x4b7311
cmp eax, 9
je 0x4b7278
cmp eax, 0xa
je 0x4b7278
cmp eax, 2
jne 0x4b7455
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
xor edx, edx
test eax, eax
jle 0x4b73e0
mov ebp, dword [esp + 0x14]
lea eax, [esi + 1]
test edx, edx
jle 0x4b72ac
cmp dword [esp + 0x30], 2
jne 0x4b72ac
or cl, 0xff
jmp 0x4b72ae
mov cl, dl
mov byte [eax + 1], cl
mov byte [eax], cl
mov byte [eax - 1], cl
mov byte [eax + 2], 0
inc edx
add eax, 4
cmp edx, ebp
jl 0x4b729c
jmp 0x4b73e0
cmp eax, 0xb
je 0x4b7311
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, esi
je 0x4b72e5
mov dword [eax + 4], esi
mov dword [eax], vtable.wxImage.0
jmp 0x4b72e7
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
cmp ecx, 0xec
jle 0x4b72fc
mov ecx, 0xec
push 4
push esi
push ecx
lea ecx, [esp + 0x28]
push ecx
push eax
push ebp
call fcn.004d69c0
add esp, 0x18
jmp 0x4b7363
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x58], esi
test esi, esi
mov dword [esp + 0xa0], 2
je 0x4b7352
mov ecx, ebp
call fcn.00479f80
mov dword [esi], vtable.wxObject.0
mov eax, dword [eax + 4]
test eax, eax
mov dword [esi + 4], eax
je 0x4b734a
inc dword [eax + 4]
mov dword [esi], vtable.wxPalette.0
jmp 0x4b7354
xor esi, esi
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 4
xor eax, eax
test ecx, ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x24], eax
jle 0x4b73e0
add esi, 2
lea ecx, [esp + 0x22]
lea edx, [esp + 0x21]
push ecx
lea ecx, [esp + 0x27]
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.0047d410
test al, al
jne 0x4b73b0
mov byte [esp + 0x22], al
mov byte [esp + 0x21], al
mov byte [esp + 0x23], al
mov dl, byte [esp + 0x22]
mov byte [esi - 2], dl
mov al, byte [esp + 0x21]
mov byte [esi - 1], al
mov cl, byte [esp + 0x23]
mov eax, dword [esp + 0x24]
mov byte [esi], cl
mov ecx, dword [esp + 0x14]
mov byte [esi + 1], 0
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4b7387
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4b7455
mov al, byte [esp + 0xb8]
test al, al
jne 0x4b744c
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
push eax
push esi
mov ecx, edi
call dword [edx + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x4b744c
mov al, byte [esp + 0xb0]
test al, al
je 0x4b7446
call fcn.004f0590
test eax, eax
je 0x4b7438
mov edx, dword [eax]
push 0
push str.BMP:_Couldnt_write_RGB_color_map.
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.004f4290
add esp, 4
push esi
jmp 0x4b7b9d
mov eax, str.BMP:_Couldnt_write_RGB_color_map.
push eax
call fcn.004f4290
add esp, 4
push esi
jmp 0x4b7b9d
push esi
call fcn.005b6480
add esp, 4
mov ecx, dword [esp + 0xa8]
call fcn.00479990
mov edi, dword [esp + 0x38]
mov esi, eax
test edi, edi
je 0x4b747f
mov ecx, edi
call fcn.00479960
test al, al
je 0x4b747f
mov ecx, edi
call fcn.00479990
mov esi, eax
mov edi, dword [esp + 0x54]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x28], ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xa8]
call fcn.004796b0
dec eax
mov dword [esp + 0x50], eax
js 0x4b7b3a
imul eax, ebx
lea eax, [eax + eax*2]
mov dword [esp + 0x14], eax
lea eax, [ebx*4]
sub eax, ebx
neg eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x18
jne 0x4b752e
test ebx, ebx
jbe 0x4b7af8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
lea ecx, [esi + 1]
mov edi, esi
lea ebp, [edx + 2]
mov edx, esi
sub edx, ecx
add eax, ecx
add edx, 2
sub edi, ecx
mov dword [esp + 0x24], edx
mov ecx, ebx
mov edx, dword [esp + 0x24]
add eax, 3
add ebp, 3
dec ecx
mov dl, byte [edx + eax - 3]
mov byte [ebp - 5], dl
mov dl, byte [eax - 3]
mov byte [ebp - 4], dl
mov dl, byte [edi + eax - 3]
mov byte [ebp - 3], dl
jne 0x4b7508
jmp 0x4b7af8
cmp eax, 8
je 0x4b7aa8
cmp eax, 0xb
je 0x4b7aa8
cmp eax, 9
jne 0x4b75c4
test ebx, ebx
mov dword [esp + 0x18], 0
jbe 0x4b7af8
mov eax, dword [esp + 0x14]
lea ebp, [eax + esi]
mov eax, 1
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + ebp]
mov eax, 2
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dl, byte [eax + ebp]
xor eax, eax
mov dword [esp + 0x10], edx
mov al, byte [ebp]
fmul qword [0x64dee0]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul qword [0x64ded8]
faddp st(1)
fild dword [esp + 0x10]
fmul qword [0x64ded0]
faddp st(1)
call fcn.005b68b8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
add ebp, 3
mov byte [ecx + edx], al
inc ecx
cmp ecx, ebx
mov dword [esp + 0x18], ecx
jb 0x4b755c
jmp 0x4b7af8
cmp eax, 0xa
jne 0x4b75f0
xor eax, eax
test ebx, ebx
jbe 0x4b7af8
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
lea edi, [ecx + esi]
mov dl, byte [edi]
add edi, 3
mov byte [eax + ebp], dl
inc eax
cmp eax, ebx
jb 0x4b75de
jmp 0x4b7af8
cmp eax, 4
jne 0x4b7692
xor ebp, ebp
test ebx, ebx
jbe 0x4b7af8
lea eax, [esi + 1]
mov ecx, esi
sub ecx, eax
mov edi, dword [esp + 0x14]
add ecx, 2
mov dword [esp + 0x24], ecx
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x18], ecx
lea edx, [ebp + 1]
cmp edx, ebx
jbe 0x4b762e
mov dword [esp + 0x2c], 0
jmp 0x4b764f
mov al, byte [edi + esi + 5]
mov cl, byte [edi + esi + 4]
mov dl, byte [edi + esi + 3]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.0047d3c0
and eax, 0xff
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x24]
lea eax, [edi + esi + 1]
mov dl, byte [eax + ecx]
mov cl, byte [eax]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
mov al, byte [eax + edx]
push eax
call fcn.0047d3c0
mov cl, byte [esp + 0x2c]
mov edx, dword [esp + 0x28]
shl al, 4
or al, cl
mov ecx, ebp
shr ecx, 1
add ebp, 2
add edi, 6
cmp ebp, ebx
mov byte [ecx + edx], al
jb 0x4b761d
jmp 0x4b7af8
cmp eax, 1
jne 0x4b789d
test ebx, ebx
jbe 0x4b7af8
lea eax, [esi + 1]
mov ecx, esi
mov ebp, 2
sub ecx, eax
mov edi, dword [esp + 0x14]
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x18], ecx
lea edx, [ebp - 1]
cmp edx, ebx
jbe 0x4b76d2
mov dword [esp + 0x10], 0
jmp 0x4b76f6
mov al, byte [esi + edi + 5]
mov cl, byte [esi + edi + 4]
mov dl, byte [esi + edi + 3]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.0047d3c0
and eax, 0xff
shl eax, 6
mov dword [esp + 0x10], eax
cmp ebp, ebx
jbe 0x4b7704
mov dword [esp + 0x3c], 0
jmp 0x4b7728
mov al, byte [esi + edi + 8]
mov cl, byte [esi + edi + 7]
mov dl, byte [esi + edi + 6]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.0047d3c0
and eax, 0xff
shl eax, 5
mov dword [esp + 0x3c], eax
lea eax, [ebp + 1]
cmp eax, ebx
jbe 0x4b7739
mov dword [esp + 0x4c], 0
jmp 0x4b775d
mov cl, byte [esi + edi + 0xb]
mov dl, byte [esi + edi + 0xa]
mov al, byte [esi + edi + 9]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.0047d3c0
and eax, 0xff
shl eax, 4
mov dword [esp + 0x4c], eax
lea ecx, [ebp + 2]
cmp ecx, ebx
jbe 0x4b776e
mov dword [esp + 0x48], 0
jmp 0x4b7792
mov dl, byte [esi + edi + 0xe]
mov al, byte [esi + edi + 0xd]
mov cl, byte [esi + edi + 0xc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0047d3c0
and eax, 0xff
shl eax, 3
mov dword [esp + 0x48], eax
lea edx, [ebp + 3]
cmp edx, ebx
jbe 0x4b77a3
mov dword [esp + 0x40], 0
jmp 0x4b77c7
mov al, byte [esi + edi + 0x11]
mov cl, byte [esi + edi + 0x10]
mov dl, byte [esi + edi + 0xf]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.0047d3c0
and eax, 0xff
shl eax, 2
mov dword [esp + 0x40], eax
lea eax, [ebp + 4]
cmp eax, ebx
jbe 0x4b77d8
mov dword [esp + 0x44], 0
jmp 0x4b77fb
mov cl, byte [esi + edi + 0x14]
mov dl, byte [esi + edi + 0x13]
mov al, byte [esi + edi + 0x12]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.0047d3c0
and eax, 0xff
add eax, eax
mov dword [esp + 0x44], eax
lea ecx, [ebp + 5]
cmp ecx, ebx
jbe 0x4b780c
mov dword [esp + 0x2c], 0
jmp 0x4b782d
mov dl, byte [esi + edi + 0x17]
mov al, byte [esi + edi + 0x16]
mov cl, byte [esi + edi + 0x15]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0047d3c0
and eax, 0xff
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x24]
lea eax, [esi + edi + 1]
mov cl, byte [edx + eax]
mov dl, byte [eax]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov dl, byte [ecx + eax]
mov ecx, dword [esp + 0x24]
push edx
call fcn.0047d3c0
mov cl, byte [esp + 0x2c]
mov dl, byte [esp + 0x44]
shl al, 7
or al, cl
mov cl, byte [esp + 0x40]
or al, dl
mov dl, byte [esp + 0x48]
or al, cl
mov cl, byte [esp + 0x4c]
or al, dl
mov dl, byte [esp + 0x3c]
or al, cl
mov cl, byte [esp + 0x10]
or al, dl
mov edx, dword [esp + 0x28]
or al, cl
lea ecx, [ebp - 2]
shr ecx, 3
add ebp, 8
add edi, 0x18
mov byte [ecx + edx], al
lea eax, [ebp - 2]
cmp eax, ebx
jb 0x4b76c1
jmp 0x4b7af8
cmp eax, 2
jne 0x4b7af8
test ebx, ebx
jbe 0x4b7af8
mov edi, dword [esp + 0x14]
mov ebp, eax
lea ecx, [ebp - 1]
cmp ecx, ebx
jbe 0x4b78c5
mov dword [esp + 0x2c], 0
jmp 0x4b78ee
xor edx, edx
mov dl, byte [edi + esi + 3]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul qword [0x64dec8]
call fcn.005b68b8
mov ebx, dword [esp + 0x34]
and eax, 0xff
shl eax, 6
mov dword [esp + 0x2c], eax
cmp ebp, ebx
jbe 0x4b78fc
mov dword [esp + 0x44], 0
jmp 0x4b7925
xor eax, eax
mov al, byte [edi + esi + 6]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0x64dec8]
call fcn.005b68b8
mov ebx, dword [esp + 0x34]
and eax, 0xff
shl eax, 5
mov dword [esp + 0x44], eax
lea ecx, [ebp + 1]
cmp ecx, ebx
jbe 0x4b7936
mov dword [esp + 0x40], 0
jmp 0x4b795f
xor edx, edx
mov dl, byte [edi + esi + 9]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul qword [0x64dec8]
call fcn.005b68b8
mov ebx, dword [esp + 0x34]
and eax, 0xff
shl eax, 4
mov dword [esp + 0x40], eax
lea eax, [ebp + 2]
cmp eax, ebx
jbe 0x4b7970
mov dword [esp + 0x48], 0
jmp 0x4b7999
xor ecx, ecx
mov cl, byte [edi + esi + 0xc]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [0x64dec8]
call fcn.005b68b8
mov ebx, dword [esp + 0x34]
and eax, 0xff
shl eax, 3
mov dword [esp + 0x48], eax
lea edx, [ebp + 3]
cmp edx, ebx
jbe 0x4b79aa
mov dword [esp + 0x4c], 0
jmp 0x4b79d3
xor eax, eax
mov al, byte [edi + esi + 0xf]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0x64dec8]
call fcn.005b68b8
mov ebx, dword [esp + 0x34]
and eax, 0xff
shl eax, 2
mov dword [esp + 0x4c], eax
lea ecx, [ebp + 4]
cmp ecx, ebx
jbe 0x4b79e4
mov dword [esp + 0x3c], 0
jmp 0x4b7a0c
xor edx, edx
mov dl, byte [edi + esi + 0x12]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul qword [0x64dec8]
call fcn.005b68b8
mov ebx, dword [esp + 0x34]
and eax, 0xff
add eax, eax
mov dword [esp + 0x3c], eax
lea eax, [ebp + 5]
cmp eax, ebx
jbe 0x4b7a1d
mov dword [esp + 0x10], 0
jmp 0x4b7a3f
xor ecx, ecx
mov cl, byte [edi + esi + 0x15]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [0x64dec8]
call fcn.005b68b8
and eax, 0xff
mov dword [esp + 0x10], eax
xor edx, edx
mov dl, byte [edi + esi]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul qword [0x64dec8]
call fcn.005b68b8
mov bl, byte [esp + 0x10]
mov dl, byte [esp + 0x3c]
mov cl, byte [esp + 0x4c]
add edi, 0x18
shl al, 7
or al, bl
mov bl, byte [esp + 0x48]
or al, dl
mov dl, byte [esp + 0x40]
or al, cl
mov cl, byte [esp + 0x44]
or al, bl
mov bl, byte [esp + 0x2c]
or al, dl
mov edx, dword [esp + 0x28]
or al, cl
lea ecx, [ebp - 2]
shr ecx, 3
or al, bl
mov ebx, dword [esp + 0x34]
add ebp, 8
mov byte [ecx + edx], al
lea eax, [ebp - 2]
cmp eax, ebx
jb 0x4b78b4
jmp 0x4b7af8
xor edi, edi
test ebx, ebx
jbe 0x4b7af8
mov ecx, dword [esp + 0x14]
lea eax, [esi + 1]
mov edx, esi
lea ebp, [ecx + eax]
sub edx, eax
mov ecx, esi
add edx, 2
sub ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x24]
mov dl, byte [ebp]
mov cl, byte [eax + ebp]
mov eax, dword [esp + 0x18]
push ecx
push edx
mov cl, byte [eax + ebp]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0047d3c0
mov edx, dword [esp + 0x28]
inc edi
add ebp, 3
cmp edi, ebx
mov byte [edi + edx - 1], al
jb 0x4b7acb
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x28]
push edx
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x4b7b6a
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
dec eax
add edx, ecx
mov dword [esp + 0x50], eax
test eax, eax
mov dword [esp + 0x14], edx
jge 0x4b74d6
mov ebp, edi
mov esi, dword [esp + 0x38]
push ebp
call fcn.005b6480
mov ecx, dword [esp + 0x20]
add esp, 4
test ecx, ecx
je 0x4b7b56
mov eax, dword [ecx]
push 1
call dword [eax + 4]
test esi, esi
je 0x4b7b63
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov al, 1
jmp 0x4b6d72
mov al, byte [esp + 0xb0]
test al, al
je 0x4b7b9c
call fcn.004f0590
test eax, eax
je 0x4b7b8e
mov edx, dword [eax]
push 0
push str.BMP:_Couldnt_write_data.
mov ecx, eax
call dword [edx + 8]
jmp 0x4b7b93
mov eax, str.BMP:_Couldnt_write_data.
push eax
call fcn.004f4290
add esp, 4
push edi
call fcn.005b6480
mov ecx, dword [esp + 0x20]
add esp, 4
test ecx, ecx
je 0x4b7bb4
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4b6d70
mov edx, dword [ecx]
push 1
call dword [edx + 4]
jmp 0x4b6d70