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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d694e
push eax
mov dword fs:[0], esp
sub esp, 0x80
push edi
mov edi, dword [esp + 0x94]
test edi, edi
je 0x47e655
mov ecx, edi
call fcn.0046a480
test al, al
jne 0x47e66f
mov al, byte [esp + 0x9c]
test al, al
je 0x47e655
call fcn.0048da70
test eax, eax
je 0x47e647
mov edx, dword [eax]
push 0
push str.BMP:_Couldnt_save_invalid_image.
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.004a4df0
add esp, 4
xor al, al
pop edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x14
mov eax, str.BMP:_Couldnt_save_invalid_image.
push eax
call fcn.004a4df0
add esp, 4
xor al, al
pop edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x14
mov eax, dword [0x504ebc]
push ebx
push ebp
push eax
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x50]
call fcn.0048b8c0
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov dword [esp + 0x98], 0
call fcn.0046b250
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff4
mov bl, al
mov eax, dword [ecx]
or ebp, 0xffffffff
cmp eax, ebp
mov dword [esp + 0x94], ebp
je 0x47e6c1
dec eax
mov dword [ecx], eax
jne 0x47e6c1
call fcn.0048a9b0
test bl, bl
push esi
je 0x47e744
mov edx, dword [0x504ebc]
push edx
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x24]
call fcn.0048b8c0
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x9c], 1
call fcn.0046d1c0
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
mov esi, eax
mov eax, dword [ecx]
cmp eax, ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x98], ebp
je 0x47e718
dec eax
mov dword [ecx], eax
jne 0x47e718
call fcn.0048a9b0
cmp esi, 1
je 0x47e796
cmp esi, 2
je 0x47e796
cmp esi, 4
jne 0x47e730
mov edi, esi
mov ebp, 0x10
jmp 0x47e7a0
cmp esi, 8
je 0x47e751
cmp esi, 9
je 0x47e751
cmp esi, 0xa
je 0x47e751
cmp esi, 0xb
je 0x47e756
mov edi, 0x18
mov dword [esp + 0x48], edi
xor ebp, ebp
jmp 0x47e7a0
cmp esi, 0xb
jne 0x47e78a
mov ecx, edi
call fcn.0046b0c0
test al, al
jne 0x47e78a
mov al, byte [esp + 0xa8]
test al, al
je 0x47f449
push 0
push 0x4fd5f0
call fcn.004010f0
push eax
call fcn.004a4df0
add esp, 0xc
jmp 0x47f449
mov edi, 8
mov ebp, 0x100
jmp 0x47e7a0
mov edi, 1
mov ebp, 2
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x1c], ebp
call fcn.0046aa30
movzx ecx, di
mov ebx, eax
imul ecx, ebx
test ecx, ecx
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
jge 0x47e7ca
fadd qword [0x4fd5e8]
fld qword [0x4fd5e0]
fmul st(1)
call fcn.004bdce4
and eax, reloc.WSOCK32.dll_closesocket
jns 0x47e7e3
dec eax
or eax, 0xfffffffc
inc eax
mov esi, 4
sub esi, eax
and esi, reloc.WSOCK32.dll_closesocket
jns 0x47e7f7
dec esi
or esi, 0xfffffffc
inc esi
fmul qword [0x4fd5d8]
call fcn.004bdce4
mov ecx, dword [esp + 0xa0]
sub esi, eax
lea edx, [ebp*4]
mov dword [esp + 0x54], esi
mov word [esp + 0x58], 0x4d42
mov dword [esp + 0x18], edx
call fcn.0046aa60
mov ecx, eax
mov eax, dword [esp + 0x18]
imul ecx, esi
lea edx, [ecx + eax + 0x36]
mov ecx, dword [esp + 0xa0]
add eax, 0x36
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x28
call fcn.0046aa30
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x6c], eax
mov al, byte [esp + 0xac]
test al, al
je 0x47e877
call fcn.0046aa60
jmp 0x47e87e
call fcn.0046aa60
shl eax, 1
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x70], eax
mov word [esp + 0x74], 1
mov word [esp + 0x76], di
mov dword [esp + 0x78], 0
call fcn.0046aa60
imul eax, esi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x7c], eax
mov eax, 0x48
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
mov al, byte [esp + 0xac]
test al, al
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], 0
je 0x47e98f
mov eax, dword [edi]
push 2
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47e948
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47e948
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47e948
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x47e98f
mov al, byte [esp + 0xa8]
test al, al
je 0x47f449
call fcn.0048da70
test eax, eax
je 0x47e97c
mov edx, dword [eax]
push 0
push str.BMP:_Couldnt_write_the_file__Bitmap__header.
mov ecx, eax
call dword [edx + 8]
push eax
call fcn.004a4df0
add esp, 4
jmp 0x47f449
mov eax, str.BMP:_Couldnt_write_the_file__Bitmap__header.
push eax
call fcn.004a4df0
add esp, 4
jmp 0x47f449
mov al, byte [esp + 0xb0]
test al, al
jne 0x47eb01
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 2
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 2
lea ecx, [esp + 0x7a]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x88]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47ead8
mov eax, dword [edi]
push 4
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x47eb01
mov al, byte [esp + 0xa8]
test al, al
je 0x47f449
push 0
push str.BMP:_Couldnt_write_the_file__BitmapInfo__header.
call fcn.004010f0
push eax
call fcn.004a4df0
add esp, 0xc
jmp 0x47f449
mov esi, dword [esp + 0x48]
xor eax, eax
cmp esi, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], eax
je 0x47eb89
cmp esi, 4
je 0x47eb89
cmp esi, 8
je 0x47eb89
cmp esi, 0xb
je 0x47ebdd
cmp esi, 9
je 0x47eb3a
cmp esi, 0xa
je 0x47eb3a
cmp esi, 2
jne 0x47ecf0
mov eax, dword [esp + 0x18]
push eax
call fcn.004bb9b0
add esp, 4
xor edx, edx
test ebp, ebp
mov dword [esp + 0x14], eax
jle 0x47ec92
mov ebp, dword [esp + 0x1c]
inc eax
lea ebx, [ebx]
test edx, edx
jle 0x47eb6e
cmp esi, 2
jne 0x47eb6e
or cl, 0xff
jmp 0x47eb70
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 0x47eb60
jmp 0x47ec92
cmp esi, 0xb
je 0x47ebdd
push 8
call fcn.004bb98c
add esp, 4
test eax, eax
je 0x47ebab
mov dword [eax + 4], 0
mov dword [eax], vtable.wxImage.0
jmp 0x47ebad
xor eax, eax
cmp ebp, 0xec
mov dword [esp + 0x44], eax
mov ecx, 0xec
jg 0x47ebc0
mov ecx, ebp
mov edx, dword [esp + 0xa0]
push 4
push 0
push ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
push edx
call fcn.00489fe0
add esp, 0x18
jmp 0x47ec23
push 8
call fcn.004bb98c
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
mov dword [esp + 0x98], 2
je 0x47ec12
mov ecx, dword [esp + 0xa0]
call fcn.0046b0f0
push eax
mov ecx, esi
call fcn.00440010
jmp 0x47ec14
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004bb9b0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
add esp, 4
xor ebp, ebp
test eax, eax
jle 0x47ec92
mov esi, dword [esp + 0x14]
add esi, 2
lea ecx, [esp + 0x27]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x29]
push edx
lea eax, [esp + 0x2e]
push eax
push ebp
call fcn.0043ca40
test al, al
jne 0x47ec6e
mov byte [esp + 0x27], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], al
mov cl, byte [esp + 0x27]
mov byte [esi - 2], cl
mov dl, byte [esp + 0x25]
mov byte [esi - 1], dl
mov al, byte [esp + 0x26]
mov byte [esi], al
mov eax, dword [esp + 0x1c]
mov byte [esi + 1], 0
inc ebp
add esi, 4
cmp ebp, eax
jl 0x47ec45
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47ecf0
mov al, byte [esp + 0xb0]
test al, al
mov esi, dword [esp + 0x14]
jne 0x47ece7
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 0x47ece7
mov al, byte [esp + 0xa8]
test al, al
je 0x47ece1
push 0
push 0x4fd550
call fcn.004010f0
push eax
call fcn.004a4df0
add esp, 0xc
push esi
jmp 0x47f423
push esi
call fcn.004bbb52
add esp, 4
mov ecx, dword [esp + 0xa0]
call fcn.0046ae00
mov edi, dword [esp + 0x44]
test edi, edi
mov esi, eax
je 0x47ed1a
mov ecx, edi
call fcn.0046a480
test al, al
je 0x47ed1a
mov ecx, edi
call fcn.0046ae00
mov esi, eax
mov edi, dword [esp + 0x54]
push edi
call fcn.004bb9b0
mov ecx, edi
mov edx, ecx
mov ebp, eax
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xa4]
add esp, 4
mov dword [esp + 0x14], ebp
call fcn.0046aa60
dec eax
mov dword [esp + 0x50], eax
js 0x47f3c3
imul eax, ebx
lea eax, [eax + eax*2]
mov dword [esp + 0x2c], eax
mov eax, ebx
imul eax, eax, 0xfffffffd
mov dword [esp + 0x4c], eax
jmp 0x47ed70
mov eax, dword [esp + 0x48]
cmp eax, 0x18
jne 0x47edc5
test ebx, ebx
jbe 0x47f381
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
lea ecx, [esi + 1]
lea eax, [edx + ecx]
mov edx, esi
sub edx, ecx
add edx, 2
mov ebp, esi
add edi, 2
sub ebp, ecx
mov dword [esp + 0x1c], edx
mov ecx, ebx
mov edx, dword [esp + 0x1c]
mov dl, byte [edx + eax]
mov byte [edi - 2], dl
mov dl, byte [eax]
mov byte [edi - 1], dl
mov dl, byte [eax + ebp]
mov byte [edi], dl
add eax, 3
add edi, 3
dec ecx
jne 0x47eda3
jmp 0x47f381
cmp eax, 8
je 0x47f329
cmp eax, 0xb
je 0x47f329
cmp eax, 9
jne 0x47ee4c
xor ebp, ebp
test ebx, ebx
jbe 0x47f381
mov eax, dword [esp + 0x2c]
lea edi, [eax + esi]
lea ecx, [ecx]
mov eax, 1
movzx ecx, byte [eax + edi]
mov dword [esp + 0x20], ecx
mov eax, 2
movzx edx, byte [eax + edi]
fild dword [esp + 0x20]
movzx eax, byte [edi]
fmul qword [0x4faaa8]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
fmul qword [0x4faab0]
faddp st(1)
fild dword [esp + 0x20]
fmul qword [0x4faaa0]
faddp st(1)
call fcn.004bdce4
mov ecx, dword [esp + 0x14]
mov byte [ecx + ebp], al
inc ebp
add edi, 3
cmp ebp, ebx
jb 0x47edf0
jmp 0x47f381
cmp eax, 0xa
jne 0x47ee78
xor eax, eax
test ebx, ebx
jbe 0x47f381
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x14]
lea edi, [edx + esi]
mov cl, byte [edi]
mov byte [eax + ebp], cl
inc eax
add edi, 3
cmp eax, ebx
jb 0x47ee66
jmp 0x47f381
cmp eax, 4
jne 0x47ef24
xor edi, edi
test ebx, ebx
jbe 0x47f381
mov ebp, dword [esp + 0x2c]
lea eax, [esi + 1]
mov edx, esi
sub edx, eax
add edx, 2
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
lea eax, [edi + 1]
cmp eax, ebx
jbe 0x47eeb6
mov dword [esp + 0x28], 0
jmp 0x47eedb
xor ecx, ecx
mov cl, byte [esi + ebp + 5]
xor edx, edx
mov dl, byte [esi + ebp + 4]
xor eax, eax
mov al, byte [esi + ebp + 3]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.0043ca00
movzx ecx, al
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
lea eax, [esi + ebp + 1]
xor ecx, ecx
mov cl, byte [eax + edx]
xor edx, edx
mov dl, byte [eax]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
xor edx, edx
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x18]
push edx
call fcn.0043ca00
mov cl, byte [esp + 0x28]
mov edx, dword [esp + 0x14]
shl al, 4
or al, cl
mov ecx, edi
shr ecx, 1
add edi, 2
add ebp, 6
cmp edi, ebx
mov byte [ecx + edx], al
jb 0x47eea5
jmp 0x47f381
cmp eax, 1
jne 0x47f150
test ebx, ebx
jbe 0x47f381
mov edi, dword [esp + 0x2c]
lea eax, [esi + 1]
mov ecx, esi
sub ecx, eax
mov ebp, 2
add ecx, ebp
mov dword [esp + 0x1c], ecx
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x18], ecx
lea edx, [ebp - 1]
cmp edx, ebx
jbe 0x47ef64
mov dword [esp + 0x28], 0
jmp 0x47ef8c
xor eax, eax
mov al, byte [edi + esi + 5]
xor ecx, ecx
mov cl, byte [edi + esi + 4]
xor edx, edx
mov dl, byte [edi + esi + 3]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.0043ca00
movzx eax, al
shl eax, 6
mov dword [esp + 0x28], eax
cmp ebp, ebx
jbe 0x47ef9a
mov dword [esp + 0x40], 0
jmp 0x47efc2
xor eax, eax
mov al, byte [edi + esi + 8]
xor ecx, ecx
mov cl, byte [edi + esi + 7]
xor edx, edx
mov dl, byte [edi + esi + 6]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.0043ca00
movzx eax, al
shl eax, 5
mov dword [esp + 0x40], eax
lea eax, [ebp + 1]
cmp eax, ebx
jbe 0x47efd3
mov dword [esp + 0x3c], 0
jmp 0x47effb
xor ecx, ecx
mov cl, byte [edi + esi + 0xb]
xor edx, edx
mov dl, byte [edi + esi + 0xa]
xor eax, eax
mov al, byte [edi + esi + 9]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.0043ca00
movzx eax, al
shl eax, 4
mov dword [esp + 0x3c], eax
lea ecx, [ebp + 2]
cmp ecx, ebx
jbe 0x47f00c
mov dword [esp + 0x38], 0
jmp 0x47f034
xor edx, edx
mov dl, byte [edi + esi + 0xe]
xor eax, eax
mov al, byte [edi + esi + 0xd]
xor ecx, ecx
mov cl, byte [edi + esi + 0xc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0043ca00
movzx eax, al
shl eax, 3
mov dword [esp + 0x38], eax
lea edx, [ebp + 3]
cmp edx, ebx
jbe 0x47f045
mov dword [esp + 0x30], 0
jmp 0x47f06d
xor eax, eax
mov al, byte [edi + esi + 0x11]
xor ecx, ecx
mov cl, byte [edi + esi + 0x10]
xor edx, edx
mov dl, byte [edi + esi + 0xf]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.0043ca00
movzx eax, al
shl eax, 2
mov dword [esp + 0x30], eax
lea eax, [ebp + 4]
cmp eax, ebx
jbe 0x47f07e
mov dword [esp + 0x34], 0
jmp 0x47f0a5
xor ecx, ecx
mov cl, byte [edi + esi + 0x14]
xor edx, edx
mov dl, byte [edi + esi + 0x13]
xor eax, eax
mov al, byte [edi + esi + 0x12]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.0043ca00
movzx eax, al
shl eax, 1
mov dword [esp + 0x34], eax
lea ecx, [ebp + 5]
cmp ecx, ebx
jbe 0x47f0b6
mov dword [esp + 0x20], 0
jmp 0x47f0db
xor edx, edx
mov dl, byte [edi + esi + 0x17]
xor eax, eax
mov al, byte [edi + esi + 0x16]
xor ecx, ecx
mov cl, byte [edi + esi + 0x15]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0043ca00
movzx edx, al
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x1c]
lea eax, [edi + esi + 1]
xor edx, edx
mov dl, byte [ecx + eax]
xor ecx, ecx
mov cl, byte [eax]
push edx
mov edx, dword [esp + 0x1c]
movzx eax, byte [edx + eax]
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.0043ca00
mov cl, byte [esp + 0x28]
mov dl, byte [esp + 0x40]
shl al, 7
or al, cl
mov cl, byte [esp + 0x3c]
or al, dl
mov dl, byte [esp + 0x38]
or al, cl
mov cl, byte [esp + 0x30]
or al, dl
mov dl, byte [esp + 0x34]
or al, cl
mov cl, byte [esp + 0x20]
or al, dl
mov edx, dword [esp + 0x14]
or al, cl
lea ecx, [ebp - 2]
shr ecx, 3
add ebp, 8
mov byte [ecx + edx], al
lea eax, [ebp - 2]
add edi, 0x18
cmp eax, ebx
jb 0x47ef53
jmp 0x47f381
cmp eax, 2
jne 0x47f381
test ebx, ebx
jbe 0x47f381
mov ebp, dword [esp + 0x2c]
mov edi, eax
lea ecx, [edi - 1]
cmp ecx, ebx
jbe 0x47f178
mov dword [esp + 0x20], 0
jmp 0x47f19a
movzx edx, byte [esi + ebp + 3]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fmul qword [0x4fd548]
call fcn.004bdce4
movzx eax, al
shl eax, 6
mov dword [esp + 0x20], eax
cmp edi, ebx
jbe 0x47f1a8
mov dword [esp + 0x34], 0
jmp 0x47f1ca
movzx eax, byte [esi + ebp + 6]
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
fmul qword [0x4fd548]
call fcn.004bdce4
movzx eax, al
shl eax, 5
mov dword [esp + 0x34], eax
lea ecx, [edi + 1]
cmp ecx, ebx
jbe 0x47f1db
mov dword [esp + 0x30], 0
jmp 0x47f1fd
movzx edx, byte [esi + ebp + 9]
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fmul qword [0x4fd548]
call fcn.004bdce4
movzx eax, al
shl eax, 4
mov dword [esp + 0x30], eax
lea eax, [edi + 2]
cmp eax, ebx
jbe 0x47f20e
mov dword [esp + 0x38], 0
jmp 0x47f230
movzx ecx, byte [esi + ebp + 0xc]
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
fmul qword [0x4fd548]
call fcn.004bdce4
movzx eax, al
shl eax, 3
mov dword [esp + 0x38], eax
lea edx, [edi + 3]
cmp edx, ebx
jbe 0x47f241
mov dword [esp + 0x3c], 0
jmp 0x47f263
movzx eax, byte [esi + ebp + 0xf]
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fmul qword [0x4fd548]
call fcn.004bdce4
movzx eax, al
shl eax, 2
mov dword [esp + 0x3c], eax
lea ecx, [edi + 4]
cmp ecx, ebx
jbe 0x47f274
mov dword [esp + 0x40], 0
jmp 0x47f295
movzx edx, byte [esi + ebp + 0x12]
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
fmul qword [0x4fd548]
call fcn.004bdce4
movzx eax, al
shl eax, 1
mov dword [esp + 0x40], eax
lea eax, [edi + 5]
cmp eax, ebx
jbe 0x47f2a6
mov dword [esp + 0x28], 0
jmp 0x47f2c5
movzx ecx, byte [esi + ebp + 0x15]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fmul qword [0x4fd548]
call fcn.004bdce4
movzx edx, al
mov dword [esp + 0x28], edx
movzx eax, byte [esi + ebp]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x4fd548]
call fcn.004bdce4
mov cl, byte [esp + 0x20]
mov dl, byte [esp + 0x34]
shl al, 7
or al, cl
mov cl, byte [esp + 0x30]
or al, dl
mov dl, byte [esp + 0x38]
or al, cl
mov cl, byte [esp + 0x3c]
or al, dl
mov dl, byte [esp + 0x40]
or al, cl
mov cl, byte [esp + 0x28]
or al, dl
mov edx, dword [esp + 0x14]
or al, cl
lea ecx, [edi - 2]
shr ecx, 3
add edi, 8
mov byte [ecx + edx], al
lea eax, [edi - 2]
add ebp, 0x18
cmp eax, ebx
jb 0x47f167
jmp 0x47f381
xor ebp, ebp
test ebx, ebx
jbe 0x47f381
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 1]
mov edx, esi
lea edi, [ecx + eax]
sub edx, eax
add edx, 2
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov cl, byte [edi + eax]
mov eax, dword [esp + 0x18]
xor edx, edx
mov dl, byte [edi]
push ecx
xor ecx, ecx
mov cl, byte [edi + eax]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0043ca00
mov edx, dword [esp + 0x14]
mov byte [edx + ebp], al
inc ebp
add edi, 3
cmp ebp, ebx
jb 0x47f350
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x14]
mov eax, dword [ecx]
push edx
push edi
call dword [eax + 0x1c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
je 0x47f3f0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
dec eax
add edx, ecx
test eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], edx
jge 0x47ed70
mov ebp, edi
mov esi, dword [esp + 0x44]
push ebp
call fcn.004bbb52
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
je 0x47f3df
mov eax, dword [ecx]
push 1
call dword [eax + 4]
test esi, esi
je 0x47f3ec
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov al, 1
jmp 0x47f44b
mov al, byte [esp + 0xa8]
test al, al
je 0x47f422
call fcn.0048da70
test eax, eax
je 0x47f414
mov edx, dword [eax]
push 0
push str.BMP:_Couldnt_write_data.
mov ecx, eax
call dword [edx + 8]
jmp 0x47f419
mov eax, str.BMP:_Couldnt_write_data.
push eax
call fcn.004a4df0
add esp, 4
push edi
call fcn.004bbb52
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
je 0x47f43a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x47f449
mov edx, dword [ecx]
push 1
call dword [edx + 4]
xor al, al
mov ecx, dword [esp + 0x90]
pop esi
pop ebp
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x14