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

Disassembly:
push 0xffffffffffffffff
push 0x53dd10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x24], ebp
mov eax, dword [ebp + 0x5b0]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [ebp + 0x5b0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1109
push ecx
call ebx
push eax
call fcn.005123ee
mov dword [ebp + 0x554], 1
mov edx, dword [ebp + 0x5b0]
push 0xffff0000
push 0
push 0x1101
push edx
call ebx
lea esi, [ebp + 0x16e8]
mov dword [ebp + 0x554], 0
mov ecx, esi
call fcn.005123d8
push 0xff00ff
push 0
push 0x10
push 0xd8
mov ecx, esi
call fcn.00512449
test esi, esi
je 0x46d2d2
mov esi, dword [esi + 4]
mov eax, dword [ebp + 0x5b0]
xor edi, edi
push esi
push edi
push 0x1109
push eax
call ebx
push eax
call fcn.005123ee
mov ecx, 0x591fd0
mov dword [esp + 0x40], 0x2f
mov dword [esp + 0x3c], 0xffff0002
mov dword [esp + 0x1c], edi
mov byte [esp + 0x90], 0
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0xa0], edi
call fcn.0044e070
mov esi, dword [0x59233c]
mov dword [esp + 0x20], eax
shr esi, 2
test esi, esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x14], edi
jle 0x46dce6
mov ecx, dword [0x59231c]
mov edx, dword [esp + 0x20]
push edx
mov eax, dword [ecx + edi*4]
push eax
mov dword [esp + 0x18], eax
call fcn.004dbc10
add esp, 8
test eax, eax
je 0x46dc56
mov eax, dword [0x592334]
mov ecx, dword [eax + edi*4]
push ecx
call fcn.004d9c20
xor esi, esi
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], vtable.CBitmap.0
mov dword [esp + 0xd4], esi
call fcn.00530346
mov eax, dword [eax + 0xc]
push str.LIB_BITMAP
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x84]
call fcn.0051d265
lea edx, [esp + 0x80]
test edx, edx
je 0x46d3f3
mov ecx, dword [esp + 0x84]
cmp ecx, esi
je 0x46d3f3
lea eax, [esp + 0x80]
push 0xffffff
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [ebp + 0x16ec]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov dword [esp + 0x78], eax
jmp 0x46d3fb
mov dword [esp + 0x78], 0xffffffff
call fcn.004d9c30
mov eax, edi
mov ecx, dword [esp + 0x10]
and eax, 0xffff
mov dword [esp + 0x38], esi
mov dword [esp + 0x9c], eax
mov dword [esp + 0x5c], esi
shl eax, 0x10
mov dword [esp + 0x74], eax
or eax, 0xffff
mov dword [esp + 0x64], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x58], esi
mov edx, dword [ecx + 0x24]
mov ecx, dword [ebp + 0x5b0]
push eax
push esi
push 0x1100
push ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], esi
call ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
jne 0x46d48d
cmp dword [0x59292c], esi
jle 0x46d48d
mov edx, dword [0x592308]
mov ecx, dword [0x592928]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.004ff41d
add esp, 8
test eax, eax
jne 0x46d48d
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x5c]
cmp eax, esi
jle 0x46d71e
cmp dword [ecx + 0x64], esi
jle 0x46d71e
lea ecx, [eax*4]
push ecx
call fcn.005151e5
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 0x5c]
shl edx, 2
push edx
push eax
call fcn.00471a60
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x68]
add esp, 0xc
mov dword [esp + 0x7c], edi
test eax, eax
mov dword [esp + 0x34], 0
jle 0x46d6c9
test byte [edi + 0xe], 0xc
jne 0x46d6aa
cmp word [edi + 0xc], 0xffff
je 0x46d6aa
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push edi
push ecx
call fcn.004dbcb0
add esp, 0xc
test eax, eax
je 0x46d6aa
movsx eax, word [edi + 0xc]
dec eax
mov dword [esp + 0x70], eax
js 0x46d528
mov edx, dword [esp + 0x10]
cmp eax, dword [edx + 0x5c]
jl 0x46d52e
xor eax, eax
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx + eax*4], 0
jne 0x46d619
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], 0
mov ecx, dword [eax + 0x5c]
mov esi, dword [eax + 0x60]
test ecx, ecx
jle 0x46d619
push esi
call fcn.00471980
add esp, 4
cmp eax, 1
je 0x46d615
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
cmp edi, eax
je 0x46d59a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
inc eax
mov dword [esp + 0x2c], eax
lea esi, [esi + ecx + 1]
mov ecx, dword [edx + 0x5c]
cmp eax, ecx
jl 0x46d556
jmp 0x46d615
push 4
lea eax, [esp + 0x90]
push esi
push eax
call fcn.00500925
lea ecx, [esp + 0x98]
mov byte [esp + 0x9c], 0
push ecx
call fcn.004ffcfa
add esp, 0x10
test eax, eax
jle 0x46d5d0
mov edx, dword [esp + 0x78]
lea eax, [eax + edx - 1]
jmp 0x46d5d5
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x74]
or eax, 0xfffe
lea edx, [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x5b0]
push edx
push 0
add esi, 4
push 0x1100
push eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], ecx
call ebx
mov ecx, dword [esp + 0x18]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x7c]
mov ax, word [edi + 0x18]
test ax, ax
jle 0x46d62f
movsx edx, ax
mov eax, dword [esp + 0x78]
lea eax, [edx + eax - 1]
jmp 0x46d634
mov eax, 2
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x9c]
mov ecx, esi
mov dword [esp + 0x58], eax
and ecx, 0xffff
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
shl ecx, 0x10
or ecx, edx
mov dword [esp + 0x64], ecx
mov edx, dword [edi]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], edx
mov eax, dword [eax + ecx*4]
test eax, eax
mov dword [esp + 0x38], eax
jne 0x46d679
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
mov ecx, dword [ebp + 0x5b0]
lea eax, [esp + 0x38]
push eax
push 0
push 0x1100
push ecx
call ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp edx, eax
jne 0x46d6aa
cmp dword [0x591c0c], esi
jne 0x46d6aa
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
add edi, 0x24
inc eax
mov edx, dword [ecx + 0x64]
mov dword [esp + 0x7c], edi
cmp eax, edx
mov dword [esp + 0x34], eax
jl 0x46d4e4
mov eax, dword [0x591f00]
test eax, eax
je 0x46d707
mov edx, dword [esp + 0x10]
xor edi, edi
mov eax, dword [edx + 0x5c]
test eax, eax
jle 0x46d707
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
test eax, eax
je 0x46d6fa
push eax
mov eax, dword [ebp + 0x5b0]
push 0
push 0x1113
push eax
call ebx
mov ecx, dword [esp + 0x10]
inc edi
add esi, 4
cmp edi, dword [ecx + 0x5c]
jl 0x46d6e3
mov edx, dword [esp + 0x18]
push edx
call fcn.0051520e
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 4
xor esi, esi
cmp dword [ecx + 0x54], esi
jle 0x46db07
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, 5
lea edx, [esp + 0x38]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5b0]
push edx
push esi
or ecx, 0xfffc
push 0x1100
push eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x60], 0x587b50
mov dword [esp + 0x58], esi
call ebx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
cmp ecx, edi
jne 0x46d783
cmp dword [0x591c10], 1
jne 0x46d783
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], esi
cmp dword [ecx + 0x54], esi
jle 0x46dadf
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ebp, edi
add ebp, dword [esi + 0x58]
test byte [ebp + 0x14], 3
jne 0x46dac0
mov edx, dword [esp + 0x20]
push edx
push ebp
push esi
call fcn.004dbc50
add esp, 0xc
test eax, eax
je 0x46dac0
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x2c]
and eax, 0x400000
neg eax
sbb eax, eax
and eax, 3
add eax, 3
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, 0xfffb
sub eax, ecx
mov ecx, dword [esp + 0x74]
and eax, 0xffff
or eax, ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esi + 0x58]
mov eax, dword [esp + 0x34]
mov edx, dword [edi + ecx]
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
push ecx
mov eax, dword [edx + 0x5b0]
push 0
push 0x1100
push eax
call ebx
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
test eax, eax
jle 0x46d912
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x68]
mov edx, dword [eax + edx + 0x10]
mov eax, dword [edx + edi*4]
lea eax, [eax + eax*8]
lea esi, [ecx + eax*4]
mov al, byte [ecx + eax*4 + 0xe]
test al, 0xc
jne 0x46d906
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push edx
push esi
push eax
call fcn.004dbcb0
add esp, 0xc
test eax, eax
je 0x46d906
mov ax, word [esi + 0x18]
test ax, ax
jle 0x46d88e
mov edx, dword [esp + 0x78]
movsx ecx, ax
lea eax, [ecx + edx - 1]
jmp 0x46d893
mov eax, 2
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x58]
mov eax, dword [edx + ecx + 0x10]
xor ecx, ecx
mov cx, word [eax + edi*4]
mov eax, dword [esp + 0x9c]
shl ecx, 0x10
or ecx, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x64], ecx
mov edx, dword [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], edx
push eax
push 0
mov edx, dword [ecx + 0x5b0]
push 0x1100
push edx
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jne 0x46d906
cmp dword [0x591c0c], edi
jne 0x46d906
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xa0], edx
mov eax, dword [ebp + 0xc]
inc edi
cmp edi, eax
jl 0x46d836
mov eax, 8
xor esi, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
test eax, eax
jle 0x46d992
test byte [edi + 0xe], 0x10
jne 0x46d987
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push edi
push ecx
call fcn.004dbcb0
add esp, 0xc
test eax, eax
je 0x46d987
test byte [ebp + 0x14], 0x40
je 0x46d953
cmp esi, 8
jl 0x46d987
mov edx, esi
lea ecx, [esp + 0x38]
and edx, 0xffff
push ecx
shl edx, 0x10
or edx, 0x8ad0
push 0
mov dword [esp + 0x6c], edx
mov eax, dword [edi]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
push 0x1100
mov eax, dword [edx + 0x5b0]
push eax
call ebx
mov eax, dword [ebp + 0x24]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x46d92b
mov eax, dword [ebp + 0x14]
and eax, 0x400000
neg eax
sbb eax, eax
xor edi, edi
and al, 0xfe
add eax, 9
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov ecx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x34]
test ecx, ecx
jle 0x46d9ff
lea esi, [eax + 8]
test byte [esi + 0xc], 2
jne 0x46d9f4
mov ecx, edi
lea eax, [esp + 0x38]
and ecx, 0xffff
push eax
shl ecx, 0x10
or ecx, 0x8acf
push 0
mov dword [esp + 0x6c], ecx
mov edx, dword [esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
push 0x1100
mov edx, dword [ecx + 0x5b0]
push edx
call ebx
mov eax, dword [ebp + 0x30]
inc edi
add esi, 0x1c
cmp edi, eax
jl 0x46d9ba
mov ecx, 4
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x46da23
test dword [edi + 8], 0x80000000
je 0x46da23
mov eax, 1
jmp 0x46da25
xor eax, eax
mov edx, dword [ebp + 0x1c]
xor esi, esi
test edx, edx
jle 0x46da9a
neg eax
sbb eax, eax
and eax, ecx
add eax, 0x14
mov dword [esp + 0x70], eax
test byte [edi + 8], 1
jne 0x46da8c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push edi
push ecx
call fcn.004dbc80
add esp, 0xc
test eax, eax
je 0x46da8c
mov edx, esi
lea ecx, [esp + 0x38]
and edx, 0xffff
push ecx
shl edx, 0x10
or edx, 0x8ace
push 0
mov dword [esp + 0x6c], edx
mov eax, dword [edi]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
push 0x1100
mov eax, dword [edx + 0x5b0]
push eax
call ebx
mov edx, dword [esp + 0x70]
mov eax, dword [ebp + 0x1c]
add edi, edx
inc esi
cmp esi, eax
jl 0x46da3b
mov eax, dword [0x591f00]
test eax, eax
je 0x46dabc
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
push ecx
push 0
mov eax, dword [edx + 0x5b0]
push 0x1113
push eax
call ebx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x54]
inc eax
add edx, 0x38
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edx
jl 0x46d798
mov eax, dword [0x591f00]
test eax, eax
je 0x46db03
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
push ecx
push 0
mov edx, dword [ebp + 0x5b0]
push 0x1113
push edx
call ebx
jmp 0x46db07
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x84]
test eax, eax
jle 0x46dc00
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, 6
lea edx, [esp + 0x38]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5b0]
push edx
push 0
or ecx, 0xfffd
push 0x1100
push eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x60], 0x581a88
mov dword [esp + 0x58], 0
call ebx
mov edx, dword [esp + 0x14]
mov ecx, 7
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov edi, dword [esi + 0x88]
cmp ecx, edx
jne 0x46db91
cmp dword [0x591c10], 2
jne 0x46db91
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x10]
xor esi, esi
mov eax, dword [edx + 0x84]
test eax, eax
jle 0x46dbe2
mov edx, dword [esp + 0x74]
mov eax, 0xc568
sub eax, esi
and eax, 0xffff
or eax, edx
lea edx, [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x5b0]
mov ecx, dword [edi]
push edx
push 0
push 0x1100
push eax
mov dword [esp + 0x60], ecx
call ebx
mov ecx, dword [esp + 0x10]
add edi, 0x20
inc esi
cmp esi, dword [ecx + 0x84]
jl 0x46dba1
mov eax, dword [0x591f00]
test eax, eax
je 0x46dc1e
mov edx, dword [esp + 0x38]
mov eax, dword [ebp + 0x5b0]
push edx
push 0
push 0x1113
push eax
call ebx
mov eax, dword [0x591f00]
test eax, eax
je 0x46dc1e
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x5b0]
push ecx
push 0
push 0x1113
push edx
call ebx
mov dword [esp + 0x80], vtable.CGdiObject.0
lea ecx, [esp + 0x80]
mov dword [esp + 0xd4], 1
call fcn.0051d2bc
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xd4], 0xffffffff
inc edi
cmp edi, esi
mov dword [esp + 0x14], edi
jl 0x46d347
cmp dword [esp + 0x28], 0xffffffff
je 0x46dccb
mov eax, dword [esp + 0x30]
test eax, eax
je 0x46dccb
mov esi, eax
mov eax, dword [ebp + 0x5b0]
push esi
push 2
push 0x1102
push eax
call ebx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x46dcba
mov ecx, dword [ebp + 0x5b0]
push eax
push 2
push 0x1102
push ecx
call ebx
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x46dcba
mov edx, dword [ebp + 0x5b0]
push eax
push 2
push 0x1102
push edx
call ebx
mov eax, dword [ebp + 0x5b0]
push esi
push 9
push 0x110b
push eax
jmp 0x46dce4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46dce6
mov edx, dword [ebp + 0x5b0]
mov ecx, eax
push ecx
push 2
push 0x1102
push edx
call ebx
mov eax, dword [0x591f00]
test eax, eax
je 0x46dd04
mov eax, dword [ebp + 0x5b0]
push 0xffff0000
push 0
push 0x1113
push eax
call ebx
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], vtable.CBitmap.0
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd4], 2
call fcn.00470b30
mov esi, 0x5478f0
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd4], 3
call fcn.00470b30
mov dword [esp + 0xa4], esi
mov edi, dword [0x59233c]
xor esi, esi
shr edi, 2
test edi, edi
mov byte [esp + 0xd4], 4
mov dword [esp + 0x88], edi
mov dword [esp + 0x14], esi
jle 0x46ded7
mov ecx, dword [0x59231c]
mov edx, dword [esp + 0x20]
push edx
mov ebx, dword [ecx + esi*4]
push ebx
call fcn.004dbc10
add esp, 8
test eax, eax
je 0x46deca
mov eax, dword [0x592334]
mov ecx, dword [eax + esi*4]
push ecx
call fcn.004d9c20
mov eax, dword [ebx + 0x54]
xor edi, edi
add esp, 4
cmp eax, edi
jle 0x46debe
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x30]
mov edx, dword [ebx + 0x58]
add esi, edx
mov eax, dword [esi + 0x14]
test al, 0x13
jne 0x46dea3
test al, 0x40
je 0x46dea3
mov edx, dword [esp + 0x20]
push edx
push esi
push ebx
call fcn.004dbc50
add esp, 0xc
test eax, eax
je 0x46dea3
test dword [esi + 0x14], 0x200000
je 0x46de39
push 0
push edi
push 5
call dword [ebx + 0x78]
test eax, eax
je 0x46dea3
push eax
lea ecx, [esp + 0xbc]
call fcn.00470df0
mov ecx, dword [esp + 0x14]
mov eax, edi
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
push eax
jmp 0x46de97
mov esi, dword [esi + 0x18]
test esi, esi
je 0x46dea3
call fcn.00530346
mov eax, dword [eax + 0xc]
and esi, 0xffff
push esi
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x98]
call fcn.0051d265
test eax, eax
je 0x46dea3
lea ecx, [esp + 0x94]
call fcn.0051d292
push eax
lea ecx, [esp + 0xbc]
call fcn.00470df0
mov eax, dword [esp + 0x14]
mov edx, edi
and edx, 0xffff
and eax, 0xffff
shl edx, 0x10
or edx, eax
push edx
lea ecx, [esp + 0xa8]
call fcn.00470df0
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x54]
inc edi
add ecx, 0x38
cmp edi, eax
mov dword [esp + 0x30], ecx
jl 0x46ddc7
mov esi, dword [esp + 0x14]
call fcn.004d9c30
mov edi, dword [esp + 0x88]
inc esi
cmp esi, edi
mov dword [esp + 0x14], esi
jl 0x46dd86
lea ecx, [esp + 0xa4]
lea edx, [esp + 0xb8]
push ecx
push edx
lea ecx, [ebp + 0x101c]
call fcn.004ee0a0
mov esi, 0x5477b0
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd4], 3
mov dword [esp + 0xa4], esi
call fcn.00470d30
lea ecx, [esp + 0xb8]
mov byte [esp + 0xd4], 2
mov dword [esp + 0xb8], esi
call fcn.00470d30
mov dword [esp + 0x94], vtable.CGdiObject.0
lea ecx, [esp + 0x94]
mov dword [esp + 0xd4], 5
call fcn.0051d2bc
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret