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

Disassembly:
xor eax, eax
xor edx, edx
mov dword [0x526adc], eax
xor ecx, ecx
mov dword [0x526ae0], edx
xor eax, eax
mov dword [0x526ae4], ecx
xor edx, edx
mov dword [0x526ae8], eax
mov dword [0x526aec], edx
xor ecx, ecx
push ebx
xor eax, eax
push esi
mov dword [0x526af0], ecx
xor edx, edx
mov dword [0x526af4], eax
push edi
push ebp
mov dword [0x526af8], edx
mov ecx, dword [0x526690]
add esp, 0xffffff70
test ecx, ecx
jl 0x40e699
mov eax, dword [sym.NDA.exe__MainForm]
mov eax, dword [eax]
mov edx, dword [eax + 0x2d4]
mov eax, dword [eax + 0x2dc]
mov ebx, dword [eax + 0x38]
mov eax, dword [0x52668c]
cmp eax, 0x22
mov esi, dword [edx + 0x38]
ja case.default.0x40d36c
jmp dword [eax*4 + 0x40d373]
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx]
mov edx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx + 0x2d4]
push eax
push 0
push 0
push 0x320
push 0x258
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2dc]
xor ecx, ecx
xor edx, edx
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
jmp case.default.0x40d36c
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx + 0x2d8]
push ecx
push 0
push 0
mov edx, dword [eax]
mov eax, 8
mov ecx, dword [edx + 0x2d4]
mov edx, dword [0x526690]
push ecx
push 0
sub eax, edx
push 0
mov ecx, dword [sym.NDA.exe__MainForm]
push 0x320
shl eax, 4
push 0x258
push eax
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_AlphaBlend_qqriip10THyRGBBitsiit3iiiii
jmp case.default.0x40d36c
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx + 0x2d8]
push ecx
push 0
push 0
mov edx, dword [eax]
mov eax, 4
mov ecx, dword [edx + 0x2d4]
mov edx, dword [0x526690]
push ecx
push 0
sub eax, edx
push 0
mov ecx, dword [sym.NDA.exe__MainForm]
push 0x320
shl eax, 5
push 0x258
push eax
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_AlphaBlend_qqriip10THyRGBBitsiit3iiiii
jmp case.default.0x40d36c
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx + 0x2d8]
push ecx
push 0
push 0
mov edx, dword [eax]
mov eax, 0x10
mov ecx, dword [edx + 0x2d4]
mov edx, dword [0x526690]
push ecx
push 0
sub eax, edx
push 0
mov ecx, dword [sym.NDA.exe__MainForm]
push 0x320
shl eax, 3
push 0x258
push eax
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_AlphaBlend_qqriip10THyRGBBitsiit3iiiii
jmp case.default.0x40d36c
mov edx, dword [0x526690]
mov eax, 0x39
sub eax, edx
mov dword [esp], 0x17
mov ecx, eax
shl ecx, 3
lea ecx, [ecx + ecx*2]
add ecx, 0xfffffda8
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
mov edx, dword [esp]
add eax, edx
test eax, eax
jl 0x40d5cd
mov ecx, dword [esp + 4]
mov eax, dword [esp]
add ecx, eax
cmp ecx, 0x320
jge 0x40d5cd
xor edi, edi
mov eax, edi
mov edx, dword [esp + 4]
shl eax, 5
mov ecx, dword [esp]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, edx
add eax, ecx
lea eax, [eax + eax*2]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov edx, dword [esp + 8]
add eax, esi
add edx, ebx
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
mov ax, word [eax]
mov word [edx], ax
inc edi
cmp edi, 0x258
jl 0x40d58f
dec dword [esp]
add dword [esp + 4], 0x18
mov edx, dword [esp]
test edx, edx
jge 0x40d56f
jmp case.default.0x40d36c
xor ecx, ecx
mov eax, dword [0x526690]
shl eax, 3
mov dword [esp + 0xc], ecx
lea eax, [eax + eax*2]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add edx, ecx
test edx, edx
jl 0x40d656
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
add eax, edx
cmp eax, 0x320
jge 0x40d656
xor edi, edi
mov eax, edi
mov edx, dword [esp + 0x10]
shl eax, 5
mov ecx, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, edx
add eax, ecx
lea eax, [eax + eax*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
add eax, esi
add edx, ebx
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
mov ax, word [eax]
mov word [edx], ax
inc edi
cmp edi, 0x258
jl 0x40d617
inc dword [esp + 0xc]
sub dword [esp + 0x10], 0x18
mov edx, dword [esp + 0xc]
cmp edx, 0x18
jl 0x40d5f6
jmp case.default.0x40d36c
mov eax, dword [0x526690]
mov ecx, 0x31
sub ecx, eax
mov edx, ecx
shl edx, 3
mov dword [esp + 0x18], 0x17
lea edx, [edx + edx*2]
add edx, 0xfffffda8
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ecx, eax
test ecx, ecx
jl 0x40d6ea
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add edx, ecx
cmp edx, 0x258
jge 0x40d6ea
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add eax, edx
mov ecx, eax
shl ecx, 5
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x20], ecx
push 0x960
mov eax, dword [esp + 0x24]
add eax, esi
push eax
mov edx, dword [esp + 0x28]
add edx, ebx
push edx
call fcn.004bfb94
add esp, 0xc
dec dword [esp + 0x18]
add dword [esp + 0x1c], 0x18
mov ecx, dword [esp + 0x18]
test ecx, ecx
jge 0x40d693
jmp case.default.0x40d36c
xor eax, eax
mov edx, dword [0x526690]
shl edx, 3
mov dword [esp + 0x24], eax
lea edx, [edx + edx*2]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add ecx, eax
test ecx, ecx
jl 0x40d76d
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add edx, ecx
cmp edx, 0x258
jge 0x40d76d
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add eax, edx
mov ecx, eax
shl ecx, 5
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x2c], ecx
push 0x960
mov eax, dword [esp + 0x30]
add eax, esi
push eax
mov edx, dword [esp + 0x34]
add edx, ebx
push edx
call fcn.004bfb94
add esp, 0xc
inc dword [esp + 0x24]
sub dword [esp + 0x28], 0x18
mov ecx, dword [esp + 0x24]
cmp ecx, 0x18
jl 0x40d716
jmp case.default.0x40d36c
mov eax, 0x15e
mov edx, dword [0x526690]
sub eax, edx
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x40d7a6
add eax, 3
sar eax, 2
mov edx, dword [esp + 0x30]
sub edx, eax
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x40d892
mov eax, dword [esp + 0x38]
cmp eax, 0xc8
jg 0x40d892
mov edx, dword [esp + 0x34]
shl edx, 5
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x38]
shl ecx, 2
lea eax, [ecx + ecx*2]
push eax
mov edx, dword [esp + 0x40]
add edx, esi
push edx
mov ecx, dword [esp + 0x44]
add ecx, ebx
push ecx
call fcn.004bfb94
add esp, 0xc
mov eax, dword [esp + 0x38]
shl eax, 2
lea edx, [eax + eax*2]
push edx
mov ecx, dword [esp + 0x40]
add ecx, esi
add ecx, 0x12c0
push ecx
mov eax, dword [esp + 0x44]
add eax, ebx
add eax, 0x12c0
push eax
call fcn.004bfb94
add esp, 0xc
mov edx, dword [esp + 0x38]
shl edx, 2
lea ecx, [edx + edx*2]
mov eax, 0x12c0
sub eax, ecx
add dword [esp + 0x3c], eax
mov edx, dword [esp + 0x38]
shl edx, 2
lea ecx, [edx + edx*2]
push ecx
mov eax, dword [esp + 0x40]
add eax, esi
push eax
mov edx, dword [esp + 0x44]
add edx, ebx
push edx
call fcn.004bfb94
add esp, 0xc
mov ecx, dword [esp + 0x38]
shl ecx, 2
lea eax, [ecx + ecx*2]
push eax
mov edx, dword [esp + 0x40]
add edx, esi
add edx, 0x12c0
push edx
mov ecx, dword [esp + 0x44]
add ecx, ebx
add ecx, 0x12c0
push ecx
call fcn.004bfb94
add esp, 0xc
add dword [esp + 0x34], 4
mov eax, dword [esp + 0x34]
cmp eax, 0x258
jl 0x40d79b
jmp case.default.0x40d36c
mov dword [esp + 0x40], 1
xor edx, edx
mov dword [esp + 0x44], edx
mov ecx, dword [0x526690]
add ecx, ecx
mov eax, dword [esp + 0x40]
add ecx, eax
mov ebp, 0xd8
sub ebp, ecx
dec ebp
mov eax, dword [esp + 0x44]
sub ebp, eax
test ebp, ebp
jl 0x40da02
cmp ebp, 0x19
jge 0x40da02
mov edx, dword [esp + 0x44]
and edx, 0x8000000f
jns 0x40d8f7
dec edx
or edx, 0xfffffff0
inc edx
mov ecx, edx
add ecx, ecx
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x44]
test eax, eax
jns 0x40d910
add eax, 0xf
sar eax, 4
mov edx, eax
add edx, edx
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
add ecx, ebp
mov eax, ecx
shl eax, 5
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, edx
mov edx, 0x19
add eax, ebp
sub edx, ebp
add edx, edx
lea eax, [eax + eax*2]
lea ecx, [edx + edx*2]
lea edx, [eax + esi]
push ecx
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
add ecx, 0x31
sub ecx, ebp
mov eax, ecx
shl eax, 5
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, edx
mov edx, 0x19
add eax, ebp
sub edx, ebp
add edx, edx
lea eax, [eax + eax*2]
lea ecx, [edx + edx*2]
lea edx, [eax + esi]
push ecx
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
lea edi, [ebp + 1]
jmp 0x40d9f7
mov eax, dword [esp + 0x4c]
add eax, edi
mov edx, eax
shl edx, 5
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov ecx, dword [esp + 0x48]
add edx, ecx
add edx, ebp
lea eax, [edx + edx*2]
push 3
lea edx, [eax + esi]
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
mov edx, dword [esp + 0x4c]
add edx, edi
mov ecx, edx
shl ecx, 5
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x48]
add ecx, eax
add ecx, 0x31
sub ecx, ebp
lea eax, [ecx + ecx*2]
push 3
lea edx, [eax + esi]
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
inc edi
mov edx, 0x31
sub edx, ebp
cmp edi, edx
jl 0x40d999
inc dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
cmp ecx, 0xc0
jl 0x40d8b9
dec dword [esp + 0x40]
mov eax, dword [esp + 0x40]
test eax, eax
jge 0x40d8b3
jmp case.default.0x40d36c
xor edx, edx
mov dword [esp + 0x50], edx
mov edi, 0x18
mov eax, dword [0x526690]
sub edi, eax
mov edx, dword [esp + 0x50]
and edx, 0x8000000f
jns 0x40da4e
dec edx
or edx, 0xfffffff0
inc edx
mov ecx, edx
add ecx, ecx
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x40da67
add eax, 0xf
sar eax, 4
mov edx, eax
add edx, edx
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
add ecx, edi
mov eax, ecx
shl eax, 5
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, edx
mov edx, 0x19
add eax, edi
sub edx, edi
add edx, edx
lea eax, [eax + eax*2]
lea ecx, [edx + edx*2]
lea edx, [eax + esi]
push ecx
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
add ecx, 0x31
sub ecx, edi
mov eax, ecx
shl eax, 5
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, edx
mov edx, 0x19
add eax, edi
sub edx, edi
add edx, edx
lea eax, [eax + eax*2]
lea ecx, [edx + edx*2]
lea edx, [eax + esi]
push ecx
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
lea ebp, [edi + 1]
jmp 0x40db4e
mov eax, dword [esp + 0x58]
add eax, ebp
mov edx, eax
shl edx, 5
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov ecx, dword [esp + 0x54]
add edx, ecx
add edx, edi
lea eax, [edx + edx*2]
push 3
lea edx, [eax + esi]
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
mov edx, dword [esp + 0x58]
add edx, ebp
mov ecx, edx
shl ecx, 5
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x54]
add ecx, eax
add ecx, 0x31
sub ecx, edi
lea eax, [ecx + ecx*2]
push 3
lea edx, [eax + esi]
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
inc ebp
mov edx, 0x31
sub edx, edi
cmp ebp, edx
jl 0x40daf0
inc dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
cmp ecx, 0xc0
jl 0x40da31
jmp case.default.0x40d36c
xor eax, eax
mov dword [esp + 0x5c], eax
mov edi, dword [0x526690]
mov eax, dword [esp + 0x5c]
and eax, 0x8000000f
jns 0x40db8e
dec eax
or eax, 0xfffffff0
inc eax
mov edx, eax
add edx, edx
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jns 0x40dba7
add ecx, 0xf
sar ecx, 4
mov eax, ecx
add eax, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add edx, edi
mov ecx, edx
mov edx, 0x19
shl ecx, 5
sub edx, edi
add edx, edx
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
add ecx, eax
add ecx, edi
lea eax, [ecx + ecx*2]
lea ecx, [edx + edx*2]
push ecx
lea edx, [eax + esi]
add eax, ebx
push edx
push eax
call fcn.004bfb94
add esp, 0xc
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
add ecx, 0x31
sub ecx, edi
mov eax, ecx
shl eax, 5
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, edx
mov edx, 0x19
add eax, edi
sub edx, edi
add edx, edx
lea eax, [eax + eax*2]
lea ecx, [edx + edx*2]
lea edx, [eax + esi]
push ecx
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
lea ebp, [edi + 1]
jmp 0x40dc8e
mov eax, dword [esp + 0x64]
add eax, ebp
mov edx, eax
shl edx, 5
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov ecx, dword [esp + 0x60]
add edx, ecx
add edx, edi
lea eax, [edx + edx*2]
push 3
lea edx, [eax + esi]
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
mov edx, dword [esp + 0x64]
add edx, ebp
mov ecx, edx
shl ecx, 5
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x60]
add ecx, eax
add ecx, 0x31
sub ecx, edi
lea eax, [ecx + ecx*2]
push 3
lea edx, [eax + esi]
push edx
add eax, ebx
push eax
call fcn.004bfb94
add esp, 0xc
inc ebp
mov edx, 0x31
sub edx, edi
cmp ebp, edx
jl 0x40dc30
inc dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xc0
jl 0x40db78
jmp case.default.0x40d36c
mov eax, dword [0x526690]
cmp eax, 0xd
jne 0x40dd1a
xor edx, edx
mov dword [ebx], edx
push 0x1c1fc
push ebx
lea ecx, [ebx + 4]
push ecx
call fcn.004bfb94
add esp, 0xc
mov eax, 0xe
mov edx, dword [0x526690]
sub eax, edx
mov ecx, eax
shl ecx, 4
lea ecx, [ecx + ecx*2]
mov eax, 0x258
sub eax, ecx
mov edx, eax
shl edx, 5
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov dword [esp + 0x68], edx
push 0x1c200
push ebx
mov ecx, dword [esp + 0x70]
add ebx, ecx
push ebx
call fcn.004bfb94
add esp, 0xc
jmp case.default.0x40d36c
mov eax, dword [0x526690]
cmp eax, 7
jl 0x40dd9f
mov edx, 0xd
mov ecx, dword [0x526690]
sub edx, ecx
mov eax, edx
shl eax, 9
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
mov dword [esp + 0x6c], eax
push 0x1c200
push ebx
mov edx, dword [esp + 0x74]
add edx, ebx
push edx
call fcn.004bfb94
mov eax, dword [0x526690]
mov ecx, 0xe
sub ecx, eax
add esp, 0xc
mov edx, ecx
mov ecx, 0x258
shl edx, 4
lea edx, [edx + edx*2]
sub ecx, edx
mov eax, ecx
shl eax, 5
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov dword [esp + 0x6c], eax
push 0x1c200
push ebx
mov edx, dword [esp + 0x74]
add ebx, edx
push ebx
call fcn.004bfb94
add esp, 0xc
jmp case.default.0x40d36c
mov ecx, dword [0x526690]
shl ecx, 9
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*8]
mov dword [esp + 0x70], ecx
push 0x1c200
mov eax, dword [esp + 0x74]
add eax, esi
push eax
mov edx, dword [esp + 0x78]
add edx, ebx
push edx
call fcn.004bfb94
add esp, 0xc
mov ecx, dword [0x526690]
shl ecx, 4
lea ecx, [ecx + ecx*2]
add ecx, 0x30
mov eax, 0x258
sub eax, ecx
mov edx, eax
shl edx, 5
lea edx, [edx + edx*2]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
mov dword [esp + 0x70], edx
push 0x1c200
mov ecx, dword [esp + 0x74]
add esi, ecx
push esi
mov eax, dword [esp + 0x78]
add ebx, eax
push ebx
call fcn.004bfb94
add esp, 0xc
jmp case.default.0x40d36c
mov eax, dword [0x526690]
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov edx, dword [0x526690]
cmp eax, edx
jne case.default.0x40d36c
mov ecx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_Cls_qqrv
mov edx, dword [sym.NDA.exe__MainForm]
mov ebx, 3
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2d4]
mov ecx, 3
push eax
mov eax, dword [0x526690]
cdq
idiv ecx
push 0
push 0
push 0x320
push 0x258
movsx eax, byte [eax + 0x508581]
mov ecx, eax
mov eax, dword [0x526690]
cdq
idiv ebx
add ecx, ecx
movsx eax, byte [eax + 0x508578]
mov edx, eax
mov eax, dword [sym.NDA.exe__MainForm]
add edx, edx
lea ecx, [ecx + ecx*4]
mov eax, dword [eax]
lea edx, [edx + edx*4]
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
jmp case.default.0x40d36c
mov eax, dword [0x526690]
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov edx, dword [0x526690]
cmp eax, edx
jne case.default.0x40d36c
mov ecx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_Cls_qqrv
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2d4]
mov ecx, 3
push eax
mov eax, dword [0x526690]
cdq
idiv ecx
push 0
push 0
push 0x320
push 0x258
movsx eax, byte [eax + 0x508581]
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, eax
add ecx, ecx
mov eax, dword [edx]
xor edx, edx
mov eax, dword [eax + 0x2dc]
lea ecx, [ecx + ecx*4]
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
jmp case.default.0x40d36c
mov eax, dword [0x526690]
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov edx, dword [0x526690]
cmp eax, edx
jne case.default.0x40d36c
mov eax, dword [0x526690]
mov ecx, 3
cdq
idiv ecx
movsx eax, byte [eax + 0x50858a]
mov edx, eax
add edx, edx
lea edx, [edx + edx*4]
sar edx, 1
jns 0x40df76
adc edx, 0
mov dword [esp + 0x74], edx
mov eax, dword [0x526690]
mov ecx, 3
cdq
idiv ecx
movsx eax, byte [eax + 0x508593]
mov edx, eax
add edx, edx
lea edx, [edx + edx*4]
sar edx, 1
jns 0x40df9c
adc edx, 0
mov dword [esp + 0x78], edx
mov ecx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx]
mov edx, dword [eax + 0x31c]
mov ecx, dword [edx + 0x30]
mov eax, dword [esp + 0x74]
add ecx, eax
mov dword [0x526adc], ecx
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x31c]
mov edx, dword [eax + 0x34]
mov ecx, dword [esp + 0x78]
add edx, ecx
mov dword [0x526ae0], edx
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov ecx, dword [edx + 0x324]
mov eax, dword [ecx + 0x30]
mov edx, dword [esp + 0x74]
add eax, edx
mov dword [0x526ae4], eax
mov ecx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx]
mov edx, dword [eax + 0x324]
mov ecx, dword [edx + 0x34]
mov eax, dword [esp + 0x78]
add ecx, eax
mov dword [0x526ae8], ecx
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x32c]
mov edx, dword [eax + 0x30]
mov ecx, dword [esp + 0x74]
add edx, ecx
mov dword [0x526aec], edx
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov ecx, dword [edx + 0x32c]
mov eax, dword [ecx + 0x34]
mov edx, dword [esp + 0x78]
add eax, edx
mov dword [0x526af0], eax
mov ecx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx]
mov edx, dword [eax + 0x330]
mov ecx, dword [edx + 0x30]
mov eax, dword [esp + 0x74]
add ecx, eax
mov dword [0x526af4], ecx
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x330]
mov edx, dword [eax + 0x34]
mov ecx, dword [esp + 0x78]
add edx, ecx
mov dword [0x526af8], edx
jmp case.default.0x40d36c
mov eax, dword [0x526690]
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov edx, dword [0x526690]
cmp eax, edx
jne case.default.0x40d36c
mov eax, dword [0x526690]
mov ecx, 3
cdq
idiv ecx
movsx eax, byte [eax + 0x508593]
mov edx, eax
add edx, edx
lea edx, [edx + edx*4]
sar edx, 1
jns 0x40e0c9
adc edx, 0
mov dword [esp + 0x7c], edx
mov ecx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx]
mov edx, dword [eax + 0x31c]
mov ecx, dword [edx + 0x34]
mov eax, dword [esp + 0x7c]
add ecx, eax
mov dword [0x526ae0], ecx
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x324]
mov edx, dword [eax + 0x34]
mov ecx, dword [esp + 0x7c]
add edx, ecx
mov dword [0x526ae8], edx
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov ecx, dword [edx + 0x32c]
mov eax, dword [ecx + 0x34]
mov edx, dword [esp + 0x7c]
add eax, edx
mov dword [0x526af0], eax
mov ecx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx]
mov edx, dword [eax + 0x330]
mov ecx, dword [edx + 0x34]
mov eax, dword [esp + 0x7c]
add ecx, eax
mov dword [0x526af8], ecx
jmp case.default.0x40d36c
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx]
mov edx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx + 0x2d8]
push eax
push 0
push 0
mov ecx, dword [edx]
mov edx, 8
mov eax, dword [ecx + 0x2e8]
mov ecx, dword [0x526690]
push eax
push 0
sub edx, ecx
push 0
shl edx, 4
mov eax, dword [sym.NDA.exe__MainForm]
push 0x320
push 0x258
push edx
xor ecx, ecx
mov edx, dword [eax]
mov eax, dword [edx + 0x2dc]
xor edx, edx
call sym.NDA.exe__THyRGBBits_AlphaBlend_qqriip10THyRGBBitsiit3iiiii
jmp case.default.0x40d36c
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx + 0x2d8]
push ecx
push 0
push 0
mov edx, dword [eax]
mov eax, 8
mov ecx, dword [edx + 0x2e8]
mov edx, dword [0x526690]
push ecx
push 0
sub eax, edx
push 0x258
mov ecx, dword [sym.NDA.exe__MainForm]
push 0x320
shl eax, 4
push 0x258
push eax
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_AlphaBlend_qqriip10THyRGBBitsiit3iiiii
jmp case.default.0x40d36c
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx + 0x2d8]
push ecx
push 0
push 0
mov edx, dword [eax]
mov eax, 8
mov ecx, dword [edx + 0x2e8]
mov edx, dword [0x526690]
push ecx
push 0x320
sub eax, edx
push 0
mov ecx, dword [sym.NDA.exe__MainForm]
push 0x320
shl eax, 4
push 0x258
push eax
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_AlphaBlend_qqriip10THyRGBBitsiit3iiiii
jmp case.default.0x40d36c
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx + 0x2d8]
push ecx
push 0
push 0
mov edx, dword [eax]
mov eax, 8
mov ecx, dword [edx + 0x2e8]
mov edx, dword [0x526690]
push ecx
push 0x320
sub eax, edx
push 0x258
mov ecx, dword [sym.NDA.exe__MainForm]
push 0x320
shl eax, 4
push 0x258
push eax
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_AlphaBlend_qqriip10THyRGBBitsiit3iiiii
jmp case.default.0x40d36c
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [0x526690]
shl eax, 2
mov ecx, dword [edx + 0x2e8]
mov edx, 0x320
push ecx
sub edx, eax
mov ecx, dword [sym.NDA.exe__MainForm]
push edx
push 0
push 0x320
push 0x258
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2d0]
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
jmp 0x40e699
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [0x526690]
shl eax, 2
mov ecx, dword [edx + 0x2e8]
push ecx
push eax
mov edx, dword [sym.NDA.exe__MainForm]
push 0
push 0x320
push 0x258
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2d0]
xor ecx, ecx
xor edx, edx
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
jmp 0x40e699
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [0x526690]
shl eax, 2
mov ecx, dword [edx + 0x2e8]
push ecx
mov edx, 0x258
sub edx, eax
push 0
mov ecx, dword [sym.NDA.exe__MainForm]
push edx
push 0x320
push 0x258
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2d0]
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
jmp 0x40e699
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [0x526690]
shl eax, 2
mov ecx, dword [edx + 0x2e8]
push ecx
push 0
mov edx, dword [sym.NDA.exe__MainForm]
push eax
push 0x320
push 0x258
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2d0]
xor ecx, ecx
xor edx, edx
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
jmp 0x40e699
mov eax, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax]
mov eax, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx + 0x2d8]
push ecx
push 0
push 0
push 0x320
push 0x258
xor ecx, ecx
mov edx, dword [eax]
mov eax, dword [edx + 0x2dc]
xor edx, edx
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
xor ebx, ebx
mov eax, dword [ebx*4 + 0x5084b4]
push eax
push 0
push 0
mov edx, dword [ebx*4 + 0x5084b4]
mov ecx, dword [edx + 0x28]
push ecx
mov ecx, 0x10
mov eax, dword [ebx*4 + 0x5084b4]
mov edx, dword [eax + 0x2c]
mov eax, dword [0x526690]
push edx
mov edx, ebx
add edx, edx
sub ecx, eax
mov eax, 0x10
lea edx, [edx + edx*2]
add edx, 0xa
imul ecx, edx
mov edx, dword [0x526690]
add ecx, 0xffffffc2
sub eax, edx
lea edx, [ebx + 1]
imul edx
mov edx, eax
mov eax, dword [sym.NDA.exe__MainForm]
add edx, edx
mov eax, dword [eax]
lea edx, [edx + edx*4]
mov eax, dword [eax + 0x2dc]
add edx, 0xffffffc9
call sym.NDA.exe__THyRGBBits_DrawAlphaMask_qqriip10THyRGBBitsiiii
inc ebx
cmp ebx, 4
jl 0x40e3fb
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx]
mov edx, 0x10
mov eax, dword [ecx + 0x2d4]
mov ecx, dword [0x526690]
push eax
sub edx, ecx
push 0
push 0
shl edx, 3
push 0x320
push 0x258
cmp edx, 0x80
jle 0x40e4a9
mov eax, 0x80
jmp 0x40e4b9
mov eax, 0x10
mov edx, dword [0x526690]
sub eax, edx
shl eax, 3
push eax
mov ecx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2dc]
xor ecx, ecx
xor edx, edx
call sym.NDA.exe__THyRGBBits_AlphaBlend_qqriip10THyRGBBitsiiiii
mov eax, dword [0x526690]
test eax, eax
jg case.default.0x40d36c
call fcn.0040d224
jmp case.default.0x40d36c
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x358]
call sym.NDA.exe__THyDib_ImagePtr_qqrv
mov dword [esp + 0x80], eax
xor edx, edx
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x80]
inc dword [esp + 0x80]
xor eax, eax
mov al, byte [ecx]
sar eax, 2
mov edx, dword [0x526690]
cmp eax, edx
jne 0x40e536
mov cx, word [esi]
mov word [ebx], cx
mov al, byte [esi + 2]
mov byte [ebx + 2], al
inc dword [esp + 0x84]
add ebx, 3
add esi, 3
mov edx, dword [esp + 0x84]
cmp edx, 0x75300
jl 0x40e50b
jmp case.default.0x40d36c
mov ecx, dword [sym.NDA.exe__MainForm]
mov eax, dword [ecx]
mov ecx, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax + 0x2e8]
push edx
push 0
push 0
push 0x320
push 0x258
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
mov eax, dword [0x526690]
cmp eax, 0xa
jl 0x40e5ef
mov ecx, dword [0x526690]
mov edx, 0x14
mov eax, 0x526ab4
sub edx, ecx
mov dword [esp + 0x88], edx
mov edx, dword [eax + 4]
mov eax, 0x320
push edx
mov edx, dword [sym.NDA.exe__MainForm]
mov ecx, dword [esp + 0x8c]
shl ecx, 4
lea ecx, [ecx + ecx*4]
sub eax, ecx
push eax
push 0
push 0x320
push 0x12c
mov ecx, dword [edx]
xor edx, edx
mov eax, dword [ecx + 0x2dc]
mov ecx, 0x12c
call sym.NDA.exe__THyRGBBits_DrawAlphaMask_qqriip10THyRGBBitsiiii
jmp case.default.0x40d36c
mov edx, dword [0x526690]
mov eax, 0xa
mov ecx, 0x526abc
sub eax, edx
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [sym.NDA.exe__MainForm]
push eax
mov edx, dword [esp + 0x90]
shl edx, 4
lea edx, [edx + edx*4]
push edx
push 0
push 0x320
push 0x12c
mov eax, dword [ecx]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_DrawAlphaMask_qqriip10THyRGBBitsiiii
mov eax, 0x526ab4
mov ecx, dword [sym.NDA.exe__MainForm]
mov edx, dword [eax + 4]
push edx
push 0
push 0
push 0x320
push 0x12c
xor edx, edx
mov eax, dword [ecx]
mov ecx, 0x12c
mov eax, dword [eax + 0x2dc]
call sym.NDA.exe__THyRGBBits_DrawAlphaMask_qqriip10THyRGBBitsiiii
mov eax, dword [sym.NDA.exe__MainForm]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [eax + 0x2dc]
push edx
push 0
push 0
push 0x320
push 0x258
xor edx, edx
mov eax, dword [eax + 0x2d0]
call sym.NDA.exe__THyRGBBits_Draw_qqriip10THyRGBBitsiiii
add esp, 0x90
pop ebp
pop edi
pop esi
pop ebx
ret