Function at 0x438740
Capabilities:
Packed with generic packer

Disassembly:
dec esp
and al, 0xc
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
pop esi
mov dword [ecx], eax
ret 8
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov ecx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
inc ecx
test eax, eax
mov dword [esi + reloc.MSVFW32.dll_DrawDibDraw], ecx
je 0x4387be
call fcn.006e8ef5
call 0x26c0daa
add byte [eax], al
je 0x4387be
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4387a0
push eax
call fcn.006dfe43
push es
test eax, eax
je 0x4387a0
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
push 0
push edi
push 0x83e7
push eax
call fcn.006ddd83
je 0x43872c
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
xchg byte [esp + eax], ch
add byte [eax], al
test eax, eax
jne 0x438ad1
push edi
call fcn.006e8f9e
mov eax, dword [reloc.MSVFW32.dll_DrawDibDraw]
in eax, 0x5d
ret 4
mov ecx, esi
mov dword [esi + reloc.MSVFW32.dll_DrawDibDraw], 1
call fcn.00437310
mov edx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call dword [edx + 8]
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
xor ecx, ecx
shr eax, 2
test eax, eax
mov dword [ebp - 8], eax
mov dword [ebp + 8], ecx
jle 0x43881f
mov edx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
mov edx, dword [edx + ecx*4]
test edx, edx
mov dword [0x5dcee8], edx
je 0x438817
pushal
call dword [0x5dcee8]
popal
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
inc ecx
cmp ecx, eax
mov dword [ebp + 8], ecx
jl 0x4387f3
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004227e0
mov ebx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
xor edi, edi
shr ebx, 2
test ebx, ebx
jle 0x43885c
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x438857
mov ecx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
push 0
mov edx, dword [ecx + edi*4]
push edx
push 6
call dword [eax + 0x78]
inc edi
cmp edi, ebx
jl 0x438839
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004227e0
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004227e0
mov ebx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
shr ebx, 2
test ebx, ebx
jle 0x4388ca
xor edi, edi
test ebx, ebx
jle 0x43889e
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x438899
push eax
call fcn.006e879d
xlatb
inc edi
cmp edi, ebx
jl 0x438885
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004227e0
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004227e0
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004227e0
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004227e0
lahf
invalid
mov ebx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
shr ebx, 2
test ebx, ebx
jle 0x43890c
xor edi, edi
test ebx, ebx
jle 0x4388f2
mov ecx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
mov edx, dword [ecx + edi*4]
push edx
call fcn.006e879d
popfd
inc edi
cmp edi, ebx
jl 0x4388dd
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004227e0
push 0xffffffffffffffff
push 0
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004ad109
mov ecx, esi
call fcn.004379a0
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004addfb
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + reloc.MSVFW32.dll_DrawDibDraw], ebx
mov dword [esi + reloc.MSVFW32.dll_DrawDibDraw], ebx
je 0x438943
push eax
call fcn.006e00dc
jae 0x4388c7
sahf
and al, 4
add byte [eax], al
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
cmp eax, ebx
je 0x43895a
push eax
call fcn.006e00dc
invalid
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
cmp eax, ebx
je 0x43898e
push eax
call fcn.006dfe43
dec edi
test eax, eax
je 0x43898e
push ebx
call fcn.004af7d8
test eax, eax
je 0x438988
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call dword [eax + 0x58]
mov dword [esi + reloc.MSVFW32.dll_DrawDibDraw], ebx
mov ecx, esi
call fcn.00436110
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
xor edi, edi
cmp eax, ebx
mov dword [ebp + 8], eax
jle 0x4389bf
mov ecx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x4389ba
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
jl 0x4389a4
push 0xffffffffffffffff
push ebx
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004acf26
push 1
mov ecx, esi
call fcn.0043aa10
cmp dword [esi + reloc.MSVFW32.dll_DrawDibDraw], ebx
jne 0x4389e2
xor ecx, ecx
jmp 0x4389e8
mov ecx, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
shr eax, 2
cmp eax, ebx
jle 0x438a4b
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ecx]
cmp edi, ebx
je 0x438a39
mov eax, dword [edi + 0xc]
mov dword [edi], ebx
cmp eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x14], ebx
je 0x438a1d
push eax
call fcn.006e00dc
les ecx, [ecx + 0x478b0c5f]
adc byte [ebx], bh
ret
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x438a30
push eax
call fcn.004adbda
add esp, 4
mov dword [edi + 0x10], ebx
push edi
call fcn.004adbda
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add ecx, 4
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
jne 0x4389fb
lea ecx, reloc.MSVFW32.dll_DrawDibDraw
call fcn.004227e0
cmp dword [esi + reloc.MSVFW32.dll_DrawDibDraw], 1
jne 0x438a6b
call int.006e90f3
xor dword [ecx + reloc.MSVFW32.dll_DrawDibDraw], ecx
add byte [ebx + 0xf89e], cl
add byte [ebx], dh
inc dword [ebp - reloc.MSVFW32.dll_DrawDibDraw]
xchg ah, dh
add byte [eax], al
add byte [ebx + 0xe096], cl
add byte [edx], ch
mov ebx, dword [esi + 0xf8]
xor edi, edi
test ebx, ebx
jle 0x438a99
mov eax, dword [esi + 0xf4]
mov edx, dword [esi + 0xe0]
push 0
mov ecx, dword [eax + edi*4]
mov eax, dword [edx + edi*4]
push ecx
push eax
mov ecx, esi
call fcn.00438330
inc edi
cmp edi, ebx
jl 0x438a77
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xdc]
call fcn.004ad109
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xf0]
call fcn.004ad109
mov eax, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
test eax, eax
je 0x438ad1
call fcn.006e9188
mov bh, 0xc7
xchg byte [esp + eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4