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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bc3ce
push eax
mov dword fs:[0], esp
sub esp, 0x80
push edi
mov edi, dword [esp + 0x94]
test edi, edi
je 0x4399c5
mov ecx, edi
call fcn.004096d0
test al, al
jne 0x4399df
mov al, byte [esp + 0x9c]
test al, al
je 0x4399c5
call fcn.004758f0
test eax, eax
je 0x4399b7
push 0
push str.BMP:_Couldnt_save_invalid_image.
mov ecx, eax
call fcn.00475d60
push eax
call fcn.00476670
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.00476670
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 [0x4e4f74]
push ebx
push ebp
push eax
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x44]
call fcn.00472c90
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
mov dword [esp + 0x98], 0
call fcn.00409960
mov bl, al
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
or ebp, 0xffffffff
cmp ecx, ebp
mov dword [esp + 0x94], ebp
je 0x439a37
dec ecx
mov dword [eax], ecx
jne 0x439a37
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
test bl, bl
push esi
je 0x439ac4
mov edx, dword [0x4e4f74]
push edx
push 0
push str.wxBMP_FORMAT
lea ecx, [esp + 0x24]
call fcn.00472c90
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x9c], 1
call fcn.0040a5b0
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x98], ebp
je 0x439a98
dec ecx
mov dword [eax], ecx
jne 0x439a98
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
cmp esi, 1
je 0x439b12
cmp esi, 2
je 0x439b12
cmp esi, 4
jne 0x439ab0
mov edi, esi
mov ebp, 0x10
jmp 0x439b1c
cmp esi, 8
je 0x439ad1
cmp esi, 9
je 0x439ad1
cmp esi, 0xa
je 0x439ad1
cmp esi, 0xb
je 0x439ad6
mov edi, 0x18
mov dword [esp + 0x3c], edi
xor ebp, ebp
jmp 0x439b1c
cmp esi, 0xb
jne 0x439b06
mov ecx, edi
call fcn.00409900
test al, al
jne 0x439b06
mov al, byte [esp + 0xa8]
test al, al
je 0x439aff
push 0x4d4a38
call fcn.00403100
push eax
call fcn.00476670
add esp, 8
xor al, al
jmp 0x43a6ea
mov edi, 8
mov ebp, 0x100
jmp 0x439b1c
mov edi, 1
mov ebp, 2
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x1c], ebp
call fcn.0040a120
movzx ecx, di
mov ebx, eax
imul ecx, ebx
test ecx, ecx
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
jge 0x439b46
fadd qword [0x4d4a30]
fld qword [0x4d4a28]
fmul st(1)
call fcn.0048df7c
and eax, reloc.WS2_32.dll_closesocket
jns 0x439b5f
dec eax
or eax, 0xfffffffc
inc eax
mov esi, 4
sub esi, eax
and esi, reloc.WS2_32.dll_closesocket
jns 0x439b73
dec esi
or esi, 0xfffffffc
inc esi
fmul qword [0x4d4a20]
call fcn.0048df7c
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.0040a150
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.0040a120
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x6c], eax
mov al, byte [esp + 0xac]
test al, al
je 0x439bf3
call fcn.0040a150
jmp 0x439bfa
call fcn.0040a150
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.0040a150
imul eax, esi
mov esi, 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 0x439cc5
mov eax, dword [esi]
push 2
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, dword [eax + 8]
xor edi, edi
cmp ecx, edi
jne 0x439cac
mov edx, dword [esi]
push 4
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439cac
mov edx, dword [esi]
push 4
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439cac
mov edx, dword [esi]
push 4
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
je 0x439cc7
mov al, byte [esp + 0xa8]
test al, al
je 0x439aff
push str.BMP:_Couldnt_write_the_file__Bitmap__header.
jmp 0x439af1
xor edi, edi
mov al, byte [esp + 0xb0]
test al, al
jne 0x439de3
mov edx, dword [esi]
push 4
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 4
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 4
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 2
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 2
lea eax, [esp + 0x7a]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 4
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 4
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 4
lea eax, [esp + 0x84]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 4
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 4
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
jne 0x439dca
mov edx, dword [esi]
push 4
lea eax, [esp + 0x90]
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [eax + 8], edi
je 0x439de3
mov al, byte [esp + 0xa8]
test al, al
je 0x439aff
push str.BMP:_Couldnt_write_the_file__BitmapInfo__header.
jmp 0x439af1
mov eax, dword [esp + 0x3c]
cmp eax, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x48], edi
je 0x439e69
cmp eax, 4
je 0x439e69
cmp eax, 8
je 0x439e69
cmp eax, 0xb
je 0x439eb8
cmp eax, 9
je 0x439e1a
cmp eax, 0xa
je 0x439e1a
cmp eax, 2
jne 0x439ff1
mov ecx, dword [esp + 0x18]
push ecx
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
xor edx, edx
cmp ebp, edi
mov dword [esp + 0x14], eax
jle 0x439f6d
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
inc eax
mov edi, edi
test edx, edx
jle 0x439e4e
cmp ebp, 2
jne 0x439e4e
or cl, 0xff
jmp 0x439e50
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, edi
jl 0x439e40
jmp 0x439f6d
cmp eax, 0xb
je 0x439eb8
push 8
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, edi
je 0x439e87
mov dword [eax + 4], edi
mov dword [eax], vtable.wxImage.0
jmp 0x439e89
xor eax, eax
cmp ebp, 0xec
mov dword [esp + 0x48], eax
mov ecx, 0xec
jg 0x439e9c
mov ecx, ebp
push 4
push edi
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0xb4]
push eax
call fcn.0045f9c0
add esp, 0x18
jmp 0x439efe
push 0xc
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x4c], edi
test edi, edi
mov dword [esp + 0x98], 2
je 0x439eed
mov ecx, dword [esp + 0xa0]
call fcn.00409930
push eax
mov ecx, edi
call fcn.0042c4f0
jmp 0x439eef
xor eax, eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
push ecx
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
add esp, 4
xor ebp, ebp
test eax, eax
jle 0x439f6d
mov edi, dword [esp + 0x14]
add edi, 2
lea edx, [esp + 0x27]
push edx
lea eax, [esp + 0x29]
push eax
lea ecx, [esp + 0x2e]
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.00437cf0
test al, al
jne 0x439f49
mov byte [esp + 0x27], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], al
mov dl, byte [esp + 0x27]
mov byte [edi - 2], dl
mov al, byte [esp + 0x25]
mov byte [edi - 1], al
mov cl, byte [esp + 0x26]
mov eax, dword [esp + 0x1c]
mov byte [edi], cl
mov byte [edi + 1], 0
inc ebp
add edi, 4
cmp ebp, eax
jl 0x439f20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x439ff1
mov al, byte [esp + 0xb0]
test al, al
mov edi, dword [esp + 0x14]
jne 0x439fe8
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x439fe8
mov al, byte [esp + 0xa8]
test al, al
je 0x439fb6
push 0x4d4998
call fcn.00403100
push eax
call fcn.00476670
add esp, 8
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
je 0x439fce
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x439aff
mov eax, dword [ecx]
push 1
call dword [eax + 4]
xor al, al
jmp 0x43a6ea
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xa0]
call fcn.00409700
mov edi, dword [esp + 0x48]
test edi, edi
mov esi, eax
je 0x43a01b
mov ecx, edi
call fcn.004096d0
test al, al
je 0x43a01b
mov ecx, edi
call fcn.00409700
mov esi, eax
mov edi, dword [esp + 0x54]
push edi
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
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.0040a150
dec eax
mov dword [esp + 0x50], eax
js 0x43a6bf
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
lea esp, [esp]
mov eax, dword [esp + 0x3c]
cmp eax, 0x18
jne 0x43a0c5
test ebx, ebx
jbe 0x43a681
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
lea ecx, [esi + 1]
lea eax, [ecx + edx]
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 0x43a0a3
jmp 0x43a681
cmp eax, 8
je 0x43a629
cmp eax, 0xb
je 0x43a629
cmp eax, 9
jne 0x43a14c
xor ebp, ebp
test ebx, ebx
jbe 0x43a681
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 [0x4d4990]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
fmul qword [0x4d4988]
faddp st(1)
fild dword [esp + 0x20]
fmul qword [0x4d4980]
faddp st(1)
call fcn.0048df7c
mov ecx, dword [esp + 0x14]
mov byte [ecx + ebp], al
inc ebp
add edi, 3
cmp ebp, ebx
jb 0x43a0f0
jmp 0x43a681
cmp eax, 0xa
jne 0x43a178
xor eax, eax
test ebx, ebx
jbe 0x43a681
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 0x43a166
jmp 0x43a681
cmp eax, 4
jne 0x43a224
xor edi, edi
test ebx, ebx
jbe 0x43a681
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 0x43a1b6
mov dword [esp + 0x28], 0
jmp 0x43a1db
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.00437cb0
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.00437cb0
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 0x43a1a5
jmp 0x43a681
cmp eax, 1
jne 0x43a450
test ebx, ebx
jbe 0x43a681
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 0x43a264
mov dword [esp + 0x28], 0
jmp 0x43a28c
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.00437cb0
movzx eax, al
shl eax, 6
mov dword [esp + 0x28], eax
cmp ebp, ebx
jbe 0x43a29a
mov dword [esp + 0x44], 0
jmp 0x43a2c2
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.00437cb0
movzx eax, al
shl eax, 5
mov dword [esp + 0x44], eax
lea eax, [ebp + 1]
cmp eax, ebx
jbe 0x43a2d3
mov dword [esp + 0x40], 0
jmp 0x43a2fb
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.00437cb0
movzx eax, al
shl eax, 4
mov dword [esp + 0x40], eax
lea ecx, [ebp + 2]
cmp ecx, ebx
jbe 0x43a30c
mov dword [esp + 0x38], 0
jmp 0x43a334
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.00437cb0
movzx eax, al
shl eax, 3
mov dword [esp + 0x38], eax
lea edx, [ebp + 3]
cmp edx, ebx
jbe 0x43a345
mov dword [esp + 0x30], 0
jmp 0x43a36d
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.00437cb0
movzx eax, al
shl eax, 2
mov dword [esp + 0x30], eax
lea eax, [ebp + 4]
cmp eax, ebx
jbe 0x43a37e
mov dword [esp + 0x34], 0
jmp 0x43a3a5
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.00437cb0
movzx eax, al
shl eax, 1
mov dword [esp + 0x34], eax
lea ecx, [ebp + 5]
cmp ecx, ebx
jbe 0x43a3b6
mov dword [esp + 0x20], 0
jmp 0x43a3db
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.00437cb0
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.00437cb0
mov cl, byte [esp + 0x28]
mov dl, byte [esp + 0x44]
shl al, 7
or al, cl
mov cl, byte [esp + 0x40]
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 0x43a253
jmp 0x43a681
cmp eax, 2
jne 0x43a681
test ebx, ebx
jbe 0x43a681
mov ebp, dword [esp + 0x2c]
mov edi, eax
lea ecx, [edi - 1]
cmp ecx, ebx
jbe 0x43a478
mov dword [esp + 0x20], 0
jmp 0x43a49a
movzx edx, byte [esi + ebp + 3]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fmul qword [0x4d4978]
call fcn.0048df7c
movzx eax, al
shl eax, 6
mov dword [esp + 0x20], eax
cmp edi, ebx
jbe 0x43a4a8
mov dword [esp + 0x34], 0
jmp 0x43a4ca
movzx eax, byte [esi + ebp + 6]
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
fmul qword [0x4d4978]
call fcn.0048df7c
movzx eax, al
shl eax, 5
mov dword [esp + 0x34], eax
lea ecx, [edi + 1]
cmp ecx, ebx
jbe 0x43a4db
mov dword [esp + 0x30], 0
jmp 0x43a4fd
movzx edx, byte [esi + ebp + 9]
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fmul qword [0x4d4978]
call fcn.0048df7c
movzx eax, al
shl eax, 4
mov dword [esp + 0x30], eax
lea eax, [edi + 2]
cmp eax, ebx
jbe 0x43a50e
mov dword [esp + 0x38], 0
jmp 0x43a530
movzx ecx, byte [esi + ebp + 0xc]
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
fmul qword [0x4d4978]
call fcn.0048df7c
movzx eax, al
shl eax, 3
mov dword [esp + 0x38], eax
lea edx, [edi + 3]
cmp edx, ebx
jbe 0x43a541
mov dword [esp + 0x40], 0
jmp 0x43a563
movzx eax, byte [esi + ebp + 0xf]
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fmul qword [0x4d4978]
call fcn.0048df7c
movzx eax, al
shl eax, 2
mov dword [esp + 0x40], eax
lea ecx, [edi + 4]
cmp ecx, ebx
jbe 0x43a574
mov dword [esp + 0x44], 0
jmp 0x43a595
movzx edx, byte [esi + ebp + 0x12]
mov dword [esp + 0x44], edx
fild dword [esp + 0x44]
fmul qword [0x4d4978]
call fcn.0048df7c
movzx eax, al
shl eax, 1
mov dword [esp + 0x44], eax
lea eax, [edi + 5]
cmp eax, ebx
jbe 0x43a5a6
mov dword [esp + 0x28], 0
jmp 0x43a5c5
movzx ecx, byte [esi + ebp + 0x15]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fmul qword [0x4d4978]
call fcn.0048df7c
movzx edx, al
mov dword [esp + 0x28], edx
movzx eax, byte [esi + ebp]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x4d4978]
call fcn.0048df7c
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 + 0x40]
or al, dl
mov dl, byte [esp + 0x44]
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 0x43a467
jmp 0x43a681
xor ebp, ebp
test ebx, ebx
jbe 0x43a681
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 1]
mov edx, esi
lea edi, [eax + ecx]
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.00437cb0
mov edx, dword [esp + 0x14]
mov byte [edx + ebp], al
inc ebp
add edi, 3
cmp ebp, ebx
jb 0x43a650
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 + 0x3c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x43a705
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 0x43a070
mov ebp, edi
mov esi, dword [esp + 0x48]
push ebp
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
je 0x43a6db
mov edx, dword [ecx]
push 1
call dword [edx + 4]
test esi, esi
je 0x43a6e8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov al, 1
mov ecx, dword [esp + 0x90]
pop esi
pop ebp
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x14
mov al, byte [esp + 0xa8]
test al, al
je 0x43a737
call fcn.004758f0
test eax, eax
je 0x43a729
push 0
push str.BMP:_Couldnt_write_data.
mov ecx, eax
call fcn.00475d60
jmp 0x43a72e
mov eax, str.BMP:_Couldnt_write_data.
push eax
call fcn.00476670
add esp, 4
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
je 0x43a74f
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x439aff
mov eax, dword [ecx]
push 1
call dword [eax + 4]
xor al, al
jmp 0x43a6ea