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

Disassembly:
push 0xffffffffffffffff
push 0x5a05b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.CBitmap.0
lea esi, [ebp + 0xf2c]
mov edi, 0x18
mov dword [esp + 0x34], ebx
call fcn.00541660
mov ecx, dword [ebp + 0xf34]
xor eax, eax
cmp ecx, ebx
jle 0x4772c4
lea esp, [esp]
cmp eax, ebx
jl 0x477f2a
cmp eax, dword [esi + 8]
jge 0x477f2a
mov ecx, dword [esi + 4]
lea ecx, [ecx + eax*4]
add eax, 1
mov dword [ecx], ebx
cmp eax, dword [ebp + 0xf34]
jl 0x4772a0
lea edx, [ebp + 0x74]
push edx
lea eax, [ebp + 0x5c]
push eax
mov ebx, str.EditTop.bmp
mov ecx, 0x63c9f8
call fcn.004fe420
lea ecx, [ebp + 0x7c]
push ecx
lea edx, [ebp + 0x64]
push edx
mov ebx, str.EditBottom.bmp
mov ecx, 0x63c9f8
call fcn.004fe420
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, 0x5f01c0
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x47753d
mov ecx, dword [esp + 0x18]
mov eax, 0x38e38e39
imul ecx
sar edx, 2
push 0
mov ebx, edx
push 0
shr ebx, 0x1f
add ebx, edx
mov edx, dword [esp + 0x24]
push 0x19
push edx
lea edi, [ebp + 8]
push ebx
mov ecx, edi
mov dword [esp + 0x2c], ebx
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0xc]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
mov ecx, dword [esp + 0x1c]
lea eax, [ebp + 0x260]
mov dword [eax + 0x24], 0
mov dword [eax], edi
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], ecx
cmp dword [esi + 8], 0
jle 0x477f2a
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 0x26c]
lea ecx, [ebp + 0x264]
push 0
push eax
call fcn.0055d779
mov eax, dword [ebp + 0x26c]
lea ecx, [ebp + 0x264]
push 2
push eax
call fcn.0055d779
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x2fc]
mov ecx, 1
mov dword [eax + 0x24], ecx
mov dword [eax], edi
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 4
mov dword [ecx], eax
mov eax, dword [ebp + 0x308]
lea ecx, [ebp + 0x300]
push 4
push eax
call fcn.0055d779
mov eax, dword [ebp + 0x308]
lea ecx, [ebp + 0x300]
push 6
push eax
call fcn.0055d779
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x434]
mov ecx, 3
mov dword [eax + 0x24], ecx
mov dword [eax], edi
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0xc
mov dword [ecx], eax
mov eax, dword [ebp + 0x440]
lea ecx, [ebp + 0x438]
push 8
push eax
call fcn.0055d779
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x4d0]
mov ecx, 4
mov dword [eax + 0x24], ecx
mov dword [eax], edi
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x10
mov dword [ecx], eax
mov eax, dword [ebp + 0x4dc]
lea ecx, [ebp + 0x4d4]
push 0xa
push eax
call fcn.0055d779
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x56c]
mov ecx, 5
mov dword [eax + 0x24], ecx
mov dword [eax], edi
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x14
mov dword [ecx], eax
mov eax, dword [ebp + 0x578]
lea ecx, [ebp + 0x570]
push 0xc
push eax
call fcn.0055d779
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x608]
mov ecx, 6
mov dword [eax + 0x24], ecx
mov dword [eax], edi
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x18
mov dword [ecx], eax
mov eax, dword [ebp + 0x614]
lea ecx, [ebp + 0x60c]
push 0xe
push eax
call fcn.0055d779
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x740]
mov ecx, 7
mov dword [eax + 0x24], ecx
mov dword [eax], edi
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x1c
mov dword [ecx], eax
mov eax, dword [ebp + 0x74c]
lea ecx, [ebp + 0x744]
push 0x10
push eax
call fcn.0055d779
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, 0x5f01e0
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x47765d
mov eax, dword [esp + 0x18]
push 0
cdq
push 0
sub eax, edx
mov edx, dword [esp + 0x24]
push 0x19
mov edi, eax
sar edi, 1
push edx
lea ebx, [ebp + 0x28]
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x2c]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x398]
mov ecx, 2
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 8
mov dword [ecx], eax
mov eax, dword [ebp + 0x3a4]
lea ecx, [ebp + 0x39c]
push 0
push eax
call fcn.0055d779
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0xd58]
mov ecx, 0x14
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x50
mov dword [ecx], eax
mov eax, dword [ebp + 0xd64]
lea ecx, [ebp + 0xd5c]
push 0
push eax
call fcn.0055d779
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x6a4]
mov ecx, 0x17
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x5c
mov dword [ecx], eax
mov eax, dword [ebp + 0x6b0]
lea ecx, [ebp + 0x6a8]
push 0
push eax
call fcn.0055d779
lea eax, [ebp + 0x84]
push eax
lea ecx, [ebp + 0x6c]
push ecx
mov ebx, 0x5f0208
mov ecx, 0x63c9f8
call fcn.004fe420
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, 0x5f0224
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x47777d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cdq
push 0
and edx, 7
push 0
add eax, edx
push 0x19
mov edi, eax
push ecx
sar edi, 3
lea ebx, [ebp + 0x18]
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.005637ca
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x1c]
push 0xff00ff
push edx
push eax
call fcn.005644f1
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00439e90
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x7dc]
mov ecx, 8
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x20
mov dword [ecx], eax
mov eax, dword [ebp + 0x7e8]
lea ebx, [ebp + 0x7e0]
push 0
push eax
mov ecx, ebx
call fcn.0055d779
mov eax, dword [ebx + 8]
push 2
push eax
mov ecx, ebx
call fcn.0055d779
lea eax, [ebp + 0xa4c]
lea ecx, [ebp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov edx, 0xc
mov dword [eax + 0x24], edx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], ecx
cmp dword [esi + 8], edx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x30
mov dword [ecx], eax
mov eax, dword [ebp + 0xa58]
lea edi, [ebp + 0xa50]
push 4
push eax
mov ecx, edi
call fcn.0055d779
mov eax, dword [edi + 8]
push 6
push eax
mov ecx, edi
call fcn.0055d779
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, 0x5f0244
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x477883
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cdq
push 0
and edx, 3
push 0
add eax, edx
push 0x19
mov edi, eax
push ecx
sar edi, 2
lea ebx, [ebp + 0x10]
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.005637ca
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x14]
push 0xff00ff
push edx
push eax
call fcn.005644f1
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00439e90
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x878]
mov ecx, 9
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x24
mov dword [ecx], eax
mov eax, dword [ebp + 0x884]
lea ebx, [ebp + 0x87c]
push 0
push eax
mov ecx, ebx
call fcn.0055d779
mov eax, dword [ebx + 8]
push 2
push eax
mov ecx, ebx
call fcn.0055d779
lea eax, [ebp + 0xae8]
lea ecx, [ebp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov edx, 0xd
mov dword [eax + 0x24], edx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], ecx
cmp dword [esi + 8], edx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x34
mov dword [ecx], eax
mov eax, dword [ebp + 0xaf4]
lea edi, [ebp + 0xaec]
push 0
push eax
mov ecx, edi
call fcn.0055d779
mov eax, dword [edi + 8]
push 2
push eax
mov ecx, edi
call fcn.0055d779
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, 0x5f0264
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x477968
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cdq
push 0
and edx, 3
push 0
add eax, edx
push 0x19
mov edi, eax
push ecx
sar edi, 2
lea ebx, [ebp + 0x20]
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.005637ca
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x24]
push 0xff00ff
push edx
push eax
call fcn.005644f1
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00439e90
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x914]
mov ecx, 0xa
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x28
mov dword [ecx], eax
mov eax, dword [ebp + 0x920]
lea ecx, [ebp + 0x918]
push 0
push eax
call fcn.0055d779
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0xb84]
mov ecx, 0xe
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x38
mov dword [ecx], eax
mov eax, dword [ebp + 0xb90]
lea ecx, [ebp + 0xb88]
push 2
push eax
call fcn.0055d779
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, 0x5f0278
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x477a0a
mov eax, dword [esp + 0x18]
push 0
cdq
push 0
sub eax, edx
mov edx, dword [esp + 0x24]
push 0x19
mov edi, eax
sar edi, 1
push edx
lea ebx, [ebp + 0x40]
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x44]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x9b0]
mov ecx, 0xb
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x2c
mov dword [ecx], eax
mov eax, dword [ebp + 0x9bc]
lea ecx, [ebp + 0x9b4]
push 0
push eax
call fcn.0055d779
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, str.BtnSearchEng.bmp
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x477aac
mov eax, dword [esp + 0x18]
push 0
cdq
push 0
sub eax, edx
mov edx, dword [esp + 0x24]
push 0x19
mov edi, eax
sar edi, 1
push edx
lea ebx, [ebp + 0x38]
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x3c]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0xc20]
mov ecx, 0xf
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x3c
mov dword [ecx], eax
mov eax, dword [ebp + 0xc2c]
lea ecx, [ebp + 0xc24]
push 0
push eax
call fcn.0055d779
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, 0x5f02bc
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x477b4e
mov eax, dword [esp + 0x18]
push 0
cdq
push 0
sub eax, edx
mov edx, dword [esp + 0x24]
push 0x19
mov edi, eax
sar edi, 1
push edx
lea ebx, [ebp + 0x30]
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x34]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0xcbc]
mov ecx, 0x10
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x40
mov dword [ecx], eax
mov eax, dword [ebp + 0xcc8]
lea ecx, [ebp + 0xcc0]
push 0
push eax
call fcn.0055d779
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, 0x5f02e4
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x477d2c
mov ecx, dword [esp + 0x18]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
push 0
mov ebx, edx
push 0
shr ebx, 0x1f
add ebx, edx
mov edx, dword [esp + 0x24]
push 0x19
push edx
push ebx
mov ecx, ebp
mov dword [esp + 0x2c], ebx
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 4]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
mov eax, dword [esp + 0x1c]
lea edi, [ebp + 0x8c]
lea ecx, [ebp + 0x90]
mov dword [edi + 0x24], 0x11
mov dword [edi], ebp
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], eax
mov eax, dword [ecx + 8]
push 0
push eax
call fcn.0055d779
mov eax, dword [ebp + 0x98]
lea ecx, [ebp + 0x90]
push 2
push eax
call fcn.0055d779
push 2
lea ecx, [ebp + 0xdc]
push 0x5ecefc
call fcn.00402270
mov ecx, dword [0x63ca6c]
mov dword [ebp + 0xe0], ecx
mov edx, dword [0x63ca6c]
mov dword [ebp + 0xe4], edx
cmp dword [esi + 8], 0x11
jle 0x477f2a
mov eax, dword [esi + 4]
mov dword [eax + 0x44], edi
add eax, 0x44
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0xa4], 1
lea edi, [ebp + 0x128]
lea ecx, [ebp + 0x12c]
mov dword [edi + 0x24], 0x12
mov dword [edi], ebp
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], eax
mov eax, dword [ecx + 8]
push 4
push eax
call fcn.0055d779
mov eax, dword [ebp + 0x134]
lea ecx, [ebp + 0x12c]
push 6
push eax
call fcn.0055d779
push 2
lea ecx, [ebp + 0x178]
push 0x5ecf04
call fcn.00402270
mov ecx, dword [0x63ca6c]
mov dword [ebp + 0x17c], ecx
mov edx, dword [0x63ca6c]
mov dword [ebp + 0x180], edx
cmp dword [esi + 8], 0x12
jle 0x477f2a
mov eax, dword [esi + 4]
mov dword [eax + 0x48], edi
add eax, 0x48
mov eax, dword [esp + 0x1c]
lea edi, [ebp + 0x1c4]
mov dword [edi + 0x3c], ebx
lea ebx, [ebp + 0x1c8]
mov dword [edi + 0x24], 0x13
mov dword [edi], ebp
mov dword [edi + 0x40], eax
mov eax, dword [ebx + 8]
push 8
push eax
mov ecx, ebx
call fcn.0055d779
mov eax, dword [ebx + 8]
push 0xa
push eax
mov ecx, ebx
call fcn.0055d779
push 2
lea ecx, [ebp + 0x214]
push 0x5ecf0c
call fcn.00402270
mov ecx, dword [0x63ca6c]
mov dword [ebp + 0x218], ecx
mov edx, dword [0x63ca6c]
mov dword [ebp + 0x21c], edx
cmp dword [esi + 8], 0x13
jle 0x477f2a
mov eax, dword [esi + 4]
add eax, 0x4c
mov dword [eax], edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, 0x5f0304
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x477de1
mov eax, dword [esp + 0x18]
cdq
push 0
and edx, 3
push 0
add eax, edx
mov edx, dword [esp + 0x24]
push 0x19
mov edi, eax
sar edi, 2
push edx
lea ebx, [ebp + 0x48]
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x4c]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0xdf4]
mov ecx, 0x15
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov ecx, dword [esi + 4]
add ecx, 0x54
mov dword [ecx], eax
mov eax, dword [ebp + 0xe00]
lea edi, [ebp + 0xdf8]
push 0
push eax
mov ecx, edi
call fcn.0055d779
mov eax, dword [edi + 8]
push 2
push eax
mov ecx, edi
call fcn.0055d779
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, 0x5f031c
mov ecx, 0x63c9f8
call fcn.004fe420
test eax, eax
je 0x477ee4
mov ecx, dword [esp + 0x18]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
push 0
mov edi, edx
push 0
shr edi, 0x1f
add edi, edx
mov edx, dword [esp + 0x24]
push 0x19
push edx
lea ebx, [ebp + 0x50]
push edi
mov ecx, ebx
call fcn.005637ca
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x54]
push 0xff00ff
push ecx
push eax
call fcn.005644f1
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00439e90
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0xe90]
mov ecx, 0x16
mov dword [eax + 0x24], ecx
mov dword [eax], ebx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], edx
cmp dword [esi + 8], ecx
jle 0x477f2a
mov esi, dword [esi + 4]
add esi, 0x58
mov dword [esi], eax
mov eax, dword [ebp + 0xe9c]
lea esi, [ebp + 0xe94]
push 0
push eax
mov ecx, esi
call fcn.0055d779
mov eax, dword [esi + 8]
push 2
push eax
mov ecx, esi
call fcn.0055d779
mov eax, dword [esi + 8]
push 4
push eax
mov ecx, esi
call fcn.0055d779
mov eax, dword [esi + 8]
push 6
push eax
mov ecx, esi
call fcn.0055d779
mov eax, dword [esi + 8]
push 8
push eax
mov ecx, esi
call fcn.0055d779
mov eax, dword [esi + 8]
push 0xa
push eax
mov ecx, esi
call fcn.0055d779
cmp dword [0x63c12c], 0
jne 0x477edb
mov dword [ebp + 0x58], 4
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0xea8], eax
xor eax, eax
cmp dword [ebp + 0xf34], eax
jle 0x477efb
mov ebp, dword [ebp + 0xf34]
add eax, 1
cmp eax, ebp
jl 0x477ef4
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CGdiObject.0
call fcn.0055b880
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
call fcn.00555520
int3