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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x69e0c3
push eax
mov dword fs:[0], esp
sub esp, 0x200
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1d8]
test eax, eax
je 0x45f13f
mov eax, dword [esp + 0x220]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0x2f], 0
jne 0x45dc72
push 0x100
call fcn.00658ea0
add esp, 4
mov dword [esp + 0x74], eax
cmp eax, ebp
mov dword [esp + 0x218], ebp
je 0x45dc59
push esi
mov ecx, eax
call fcn.005145f0
jmp 0x45dc5b
xor eax, eax
mov dword [esp + 0x218], 0xffffffff
mov dword [esp + 0x220], eax
mov byte [esp + 0x2f], 1
lea ecx, [esp + 0x1f0]
call fcn.004394b0
push 0xff
push ebp
mov edi, vtable.wxColour.0
push 0xc8
push 0xc8
lea ecx, [esp + 0x200]
mov dword [esp + 0x228], 1
mov dword [esp + 0x200], edi
call fcn.0040f250
push 0x64
lea ecx, [esp + 0x1f4]
push 1
push ecx
lea ecx, [esp + 0x1dc]
mov dword [esp + 0x224], 2
call fcn.004fc0a0
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x218], 4
call fcn.004dd920
lea edx, [esp + 0x1d0]
push 0x21
mov dword [esp + 0x1dc], edx
call fcn.004f2900
push 0x1f
mov dword [esp + 0x1e4], eax
call fcn.004f2900
push 0x1b
mov dword [esp + 0x1ec], eax
call fcn.004f2900
push 0x1a
mov dword [esp + 0x1f4], eax
call fcn.004f2900
push 0x1c
mov dword [esp + 0x1fc], eax
call fcn.004f2900
add esp, 0x14
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x1ec], eax
push ebp
call fcn.00572ec0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x218], 5
call fcn.0043b440
mov dword [esp + 0x1b0], ebp
mov dword [esp + 0x1b4], ebp
mov dword [esp + 0x1b8], ebp
mov dword [esp + 0xa8], vtable.wxBufferedDC.1.0
mov dword [esp + method.wxBufferedDC.virtual_0], vtable.wxBufferedDC.0
mov eax, dword [0x8b0a50]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x204]
mov byte [esp + 0x218], 0xa
call fcn.00575430
lea ecx, [esp + 0x60]
mov byte [esp + 0x218], 0xb
mov dword [esp + 0x54], ebp
call fcn.004394b0
lea ecx, [esp + 0x60]
mov byte [esp + 0x218], 0xc
mov dword [esp + 0x60], edi
call fcn.004f4f00
mov eax, dword [esi + 0x184]
mov byte [esp + 0x218], 0xd
cmp eax, ebp
je 0x45de17
mov eax, dword [eax + 0x60]
mov dword [esp + 0x54], eax
mov edx, dword [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x21c]
mov edx, dword [esp + 0x220]
push 2
push edx
lea ecx, [esp + 0xb0]
call fcn.0043b600
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
push edi
push ebx
lea ecx, [esp + 0xb0]
call fcn.00518060
push 0x8c9b00
lea ecx, [esp + 0xac]
call fcn.004f7d10
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
call fcn.004da780
push eax
lea ecx, [esp + 0x148]
mov byte [esp + 0x21c], 0xe
call fcn.0043a990
lea ecx, [esp + 0x7c]
mov byte [esp + 0x218], 0xd
call fcn.004dd920
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.004da560
push eax
lea ecx, [esp + 0x15c]
mov byte [esp + 0x21c], 0xf
call fcn.0043a990
lea ecx, [esp + 0x7c]
mov byte [esp + 0x218], 0xd
call fcn.004dd920
lea edx, [esp + 0x7c]
mov ecx, esi
push edx
call fcn.004da560
push 0x64
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x220], 0x10
call fcn.004f0f30
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x21c], 0x11
call fcn.004f7dd0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x218], 0x10
call fcn.004dd920
lea ecx, [esp + 0x7c]
mov byte [esp + 0x218], 0xd
call fcn.004dd920
call fcn.00450970
add eax, 0x54
lea ecx, [esp + 0xa8]
push eax
call fcn.004f7c70
mov eax, dword [esp + 0xa8]
push edi
push ebx
push ebp
push ebp
lea ecx, [esp + 0xb8]
call dword [eax + 0xf0]
push 0x6a
lea ecx, [esp + 0xac]
call fcn.004f7f10
mov eax, dword [esp + 0x54]
mov edi, 0x3d
cmp eax, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], 0x47
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edi
je 0x45dfe2
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.00401f10
push ebp
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push 0x900
push edx
push 0x8c9b40
push eax
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0xc0]
mov byte [esp + 0x230], 0x12
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x218], 0xd
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x45e071
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45e071
jmp 0x45e067
call fcn.00581aa0
cmp eax, ebp
je 0x45dffa
mov edx, dword [eax]
push ebp
push 0x77f97c
mov ecx, eax
call dword [edx + 8]
jmp 0x45dfff
mov eax, 0x77f97c
cmp eax, ebp
jne 0x45e008
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push ebp
push eax
lea ecx, [esp + 0x68]
call fcn.00570720
push ebp
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push 0x900
push edx
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x6c]
push 0x8c9b40
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x230], 0x13
call dword [edx + 0x14]
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x218], 0xd
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x45e071
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45e071
push eax
call dword [0x6c74ac]
add esp, 4
push 0x21
call fcn.004f2900
add esp, 4
lea ecx, [esp + 0xa8]
push eax
call fcn.004f7d10
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.0045f160
mov edx, dword [esi]
push eax
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call dword [edx + 0x60]
push eax
lea ecx, [esp + 0x98]
call fcn.00436d50
mov ecx, dword [eax]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x84], ebx
mov edx, dword [eax + 0xc]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x88], edx
push eax
mov eax, dword [esp + 0xac]
push ebx
push ecx
push 0x46
lea ecx, [esp + 0xb8]
call dword [eax + 0x130]
mov edx, dword [esi]
push 4
mov ecx, esi
call dword [edx + 0x180]
lea eax, [eax + eax*2]
mov ecx, 0x46
mov dword [esp + 0x28], edi
xor edi, edi
lea eax, [eax + eax*4]
mov dword [esp + 0x20], ebp
shl eax, 2
sub ecx, eax
mov eax, dword [esi + 0x178]
cmp eax, ebp
mov dword [esp + 0x1c], ecx
jle 0x45e38e
mov edx, dword [esi + 0x17c]
mov eax, dword [edx + edi*4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
inc eax
mov dword [esp + 0x24], eax
lea eax, [eax + ecx - 1]
cmp eax, 0x46
jg 0x45e147
mov ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x45e37f
add ebx, 0x45
cmp ecx, ebx
jge 0x45e38e
lea ecx, [esp + 0x34]
lea edx, [esp + 0x30]
push ecx
push edx
push ecx
lea ecx, [esi + 0x174]
mov eax, esp
mov dword [esp + 0x80], esp
push eax
push edi
call fcn.0040a4f0
mov ecx, dword [eax]
call fcn.00401f50
mov ecx, esi
call fcn.0045db30
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00571160
mov edx, dword [esp + 0x58]
push ebp
push 1
push edx
lea ecx, [esp + 0x1cc]
call fcn.00573150
cmp eax, 0xffffffff
jne 0x45e1c5
lea eax, [esp + 0x58]
push 1
push eax
lea ecx, [esp + 0x1c8]
call fcn.00573250
mov ecx, dword [esp + 0x1c4]
lea eax, [ecx - 1]
cdq
mov ecx, 6
idiv ecx
mov eax, dword [esi + 0x184]
test eax, eax
mov ebp, edx
je 0x45e20a
push ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x78], esp
mov ecx, esp
push edx
call fcn.0040a460
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.0040a460
mov ecx, dword [esi + 0x184]
call fcn.004a6190
mov ebx, eax
jmp 0x45e20c
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
push 0xfffffffffffffffb
mov dword [esp + 0x4c], ecx
push 0xfffffffffffffffb
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call fcn.004f17d0
test ebx, ebx
je 0x45e359
mov eax, dword [esi + 0x178]
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x50], ecx
sub edx, edi
mov dword [esp + 0x94], ecx
add edx, eax
add eax, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x90], eax
fild qword [esp + 0x4c]
mov eax, dword [esp + ebp*4 + 0x1d8]
lea edx, [esp + 0x10]
push eax
push edx
fidiv dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xc4]
push eax
fstp dword [esp + 0x30]
call fcn.004b3ab0
mov al, byte [esi + 0x1e4]
test al, al
je 0x45e359
call fcn.00581aa0
test eax, eax
je 0x45e2da
mov edx, dword [eax]
push 0
push str._d:_s
mov ecx, eax
call dword [edx + 8]
jmp 0x45e2df
mov eax, str._d:_s
mov ecx, dword [esp + 0x34]
lea edx, [edi + 1]
push ecx
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00572aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x21c], 0x14
call fcn.00571160
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x218], 0xd
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x45e330
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x45e330
push eax
call dword [0x6c74ac]
add esp, 4
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push 0x100
push edx
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x68]
push 0x8c9b40
push eax
lea ecx, [esp + 0xc0]
call dword [edx + 0x14]
push 5
push 5
lea ecx, [esp + 0x44]
call fcn.004f17d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x84]
xor ebp, ebp
lea ecx, [ecx + eax - 1]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x178]
inc edi
cmp edi, eax
jl 0x45e120
lea ecx, [esp + 0x1c0]
call fcn.00573090
push ebp
lea ecx, [esp + 0x5c]
call fcn.005728d0
lea ecx, [esp + 0xa8]
call fcn.004f6230
lea edx, [esp + 0x4c]
mov ecx, esi
push edx
call fcn.0045f160
lea ecx, [esp + 0x74]
push eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x60]
push eax
lea ecx, [esp + 0x98]
call fcn.00436d50
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x84], edx
mov ebx, dword [eax + 0xc]
mov eax, 0x47
sub eax, ecx
push ebx
push eax
mov eax, dword [esp + 0xb0]
push 0x3c
push ecx
lea ecx, [esp + 0xb8]
call dword [eax + 0x130]
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x180]
mov ecx, 3
xor edi, edi
sub ecx, eax
mov eax, dword [esi + 0x15c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], 0x47
lea ecx, [ecx + ecx*4]
shl ecx, 2
cmp eax, ebp
mov dword [esp + 0x20], ecx
jle 0x45e583
mov eax, dword [esi + 0x160]
lea edx, [eax + edi*4]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
mov eax, dword [eax + 8]
inc eax
mov dword [esp + 0x28], eax
lea eax, [eax + ecx - 1]
cmp eax, 0x3c
jg 0x45e46e
mov ecx, eax
jmp 0x45e570
lea eax, [ebx + 0x3b]
cmp ecx, eax
jge 0x45e583
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx]
call fcn.00401f10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x21c], 0x15
call fcn.00571160
mov edx, dword [esp + 0x10]
mov byte [esp + 0x218], 0xd
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x45e4c1
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45e4c1
push eax
call dword [0x6c74ac]
add esp, 4
push 1
push 0x77f970
push 0x767c94
lea ecx, [esp + 0x20]
call fcn.00572460
push 1
push 0x767c90
push 0x767c8c
lea ecx, [esp + 0x20]
call fcn.00572460
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push 0x77f970
push ecx
call fcn.00571ab0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x21c], 0x16
call fcn.00571160
mov edx, dword [esp + 0x18]
mov byte [esp + 0x218], 0xd
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x45e53c
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45e53c
push eax
call dword [0x6c74ac]
add esp, 4
mov edx, dword [esp + 0xa8]
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push 0x800
push eax
lea ecx, [esp + 0x24]
push 0x8c9b40
push ecx
lea ecx, [esp + 0xc0]
call dword [edx + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
lea ecx, [ecx + eax - 1]
mov eax, dword [esi + 0x15c]
inc edi
cmp edi, eax
mov dword [esp + 0x20], ecx
jl 0x45e448
lea ecx, [esp + 0xa8]
call fcn.004f6230
mov edx, dword [esi]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x21c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x74]
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x60]
push eax
lea ecx, [esp + 0x98]
call fcn.00436d50
mov edx, dword [eax]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0xa8]
mov edi, dword [eax + 8]
mov dword [esp + 0x84], edi
mov ebx, dword [eax + 0xc]
push ebx
push edi
push 0x3c
push 0x46
mov dword [esp + 0x98], ebx
call dword [edx + 0x130]
push 4
call fcn.004f2020
add esp, 4
lea ecx, [esp + 0xa8]
push eax
call fcn.004f7dd0
mov eax, dword [esi]
push 8
mov ecx, esi
call dword [eax + 0x180]
mov ecx, 3
xor edx, edx
sub ecx, eax
mov eax, dword [esi + 0x15c]
mov dword [esp + 0x38], edx
lea ecx, [ecx + ecx*4]
shl ecx, 2
cmp eax, ebp
mov dword [esp + 0x20], ecx
jle 0x45ee9d
mov eax, dword [esi + 0x160]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
mov eax, dword [eax + 8]
inc eax
mov dword [esp + 0x28], eax
lea eax, [eax + ecx - 1]
cmp eax, 0x3c
jg 0x45e67e
mov ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x45ee8a
add ebx, 0x3b
cmp ecx, ebx
jge 0x45ee9d
mov edx, dword [esi]
push 4
mov ecx, esi
call dword [edx + 0x180]
lea eax, [eax + eax*2]
mov ecx, 0x46
xor ebx, ebx
lea eax, [eax + eax*4]
mov dword [esp + 0x5c], ebx
shl eax, 2
sub ecx, eax
mov eax, dword [esi + 0x178]
cmp eax, ebp
mov dword [esp + 0x1c], ecx
jle 0x45ee6f
mov edx, dword [esi + 0x17c]
mov eax, dword [edx + ebx*4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
inc eax
mov dword [esp + 0x24], eax
lea eax, [eax + ecx - 1]
cmp eax, 0x46
jg 0x45e6e4
mov ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x45ee5c
lea edx, [edi + 0x45]
cmp ecx, edx
jge 0x45ee6f
lea eax, [esp + 0x34]
lea ecx, [esp + 0x30]
push eax
push ecx
push ecx
lea ecx, [esi + 0x174]
mov edx, esp
mov dword [esp + 0x58], esp
push edx
push ebx
call fcn.0040a4f0
mov ecx, dword [eax]
call fcn.00401f50
mov ecx, esi
call fcn.0045db30
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x17c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [edx + ebx*4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
cdq
sub eax, edx
sar eax, 1
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x184]
cmp eax, ebp
je 0x45e829
mov edx, dword [esp + 0x38]
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push ecx
push edx
lea ecx, [esi + 0x158]
call fcn.0040a4f0
mov ecx, dword [eax]
call fcn.00401f10
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.0040a460
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.0040a460
mov ecx, dword [esi + 0x184]
call fcn.004a6340
cmp eax, ebp
je 0x45e829
mov ecx, dword [eax + 0x124]
mov edx, dword [eax + 0x128]
mov edi, dword [eax + 0x12c]
mov eax, ecx
sub eax, edi
sub eax, edx
cmp ecx, ebp
jg 0x45e7d4
add edi, edx
test edi, edi
jle 0x45e829
push eax
lea eax, [esp + 0xa4]
push 0x768e88
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x21c], 0x17
call fcn.00571160
mov ecx, dword [esp + 0xa0]
mov byte [esp + 0x218], 0xd
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x45e833
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45e833
push eax
call dword [0x6c74ac]
add esp, 4
jmp 0x45e833
push ebp
lea ecx, [esp + 0x18]
call fcn.005728d0
mov edx, dword [esi + 0x188]
mov eax, dword [esp + 0x38]
cmp edx, eax
jne 0x45e87b
cmp dword [esi + 0x18c], ebx
jne 0x45e87b
mov al, byte [esi + 0x190]
test al, al
je 0x45e87b
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
mov edx, dword [esp + 0xb4]
push eax
lea ecx, [esp + 0xb8]
call dword [edx + 0xf0]
mov edx, dword [esp + 0xa8]
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push 0x900
push eax
lea ecx, [esp + 0x24]
push 0x8c9b40
push ecx
lea ecx, [esp + 0xc0]
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebp
je 0x45eab2
cmp dword [esp + 0x54], ebp
je 0x45eab2
mov ecx, dword [esi + 0x160]
mov edx, dword [esp + 0x38]
mov eax, dword [ecx + edx*4]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [eax]
call fcn.00401f10
mov ecx, dword [esp + 0x54]
push ebp
push eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x228], 0x18
call fcn.00493b10
mov ecx, dword [esp + 0xa4]
mov bl, al
mov byte [esp + 0x218], 0xd
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x45e920
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45e920
push eax
call dword [0x6c74ac]
add esp, 4
test bl, bl
je 0x45eab2
lea edx, [esp + 0x144]
lea ecx, [esp + 0x60]
push edx
call fcn.0040eca0
mov eax, dword [esp + 0x14c]
mov cl, byte [esp + 0x150]
mov dl, byte [esp + 0x151]
mov dword [esp + 0x68], eax
mov al, byte [esp + 0x152]
mov byte [esp + 0x6c], cl
mov cl, byte [esp + 0x153]
mov byte [esp + 0x6d], dl
mov dl, byte [esp + 0x154]
push 0xf
mov byte [esp + 0x72], al
mov byte [esp + 0x73], cl
mov byte [esp + 0x74], dl
call fcn.004f2300
add esp, 4
mov edi, eax
lea ecx, [esp + 0x144]
push edi
call fcn.0040eca0
mov eax, dword [edi + 8]
mov dword [esp + 0x14c], eax
mov cl, byte [edi + 0xc]
mov byte [esp + 0x150], cl
mov dl, byte [edi + 0xd]
mov byte [esp + 0x151], dl
mov al, byte [edi + 0xe]
mov byte [esp + 0x152], al
mov cl, byte [edi + 0xf]
mov byte [esp + 0x153], cl
mov dl, byte [edi + 0x10]
mov byte [esp + 0x154], dl
call fcn.00581aa0
cmp eax, ebp
je 0x45e9e8
mov edx, dword [eax]
push ebp
push 0x77f96c
mov ecx, eax
call dword [edx + 8]
jmp 0x45e9ed
mov eax, 0x77f96c
cmp eax, ebp
jne 0x45e9f6
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push ebp
push eax
lea ecx, [esp + 0x24]
call fcn.00570720
push ebp
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push 0x900
push edx
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x28]
push 0x8c9b40
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x230], 0x19
call dword [edx + 0x14]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x218], 0xd
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x45ea5f
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45ea5f
push eax
call dword [0x6c74ac]
add esp, 4
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x148]
call fcn.0040eca0
mov edx, dword [esp + 0x68]
mov al, byte [esp + 0x6c]
mov cl, byte [esp + 0x6d]
mov dword [esp + 0x14c], edx
mov dl, byte [esp + 0x6e]
mov byte [esp + 0x150], al
mov al, byte [esp + 0x6f]
mov byte [esp + 0x151], cl
mov cl, byte [esp + 0x70]
mov byte [esp + 0x152], dl
mov byte [esp + 0x153], al
mov byte [esp + 0x154], cl
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
lea ecx, [eax + edx - 1]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
lea eax, [eax + edx - 1]
sub eax, ecx
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x184]
cmp eax, ebp
je 0x45ebac
mov edx, dword [esp + 0x38]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push ecx
push edx
lea ecx, [esi + 0x158]
call fcn.0040a4f0
mov ecx, dword [eax]
call fcn.00401f10
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.0040a460
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.0040a460
mov ecx, dword [esi + 0x184]
call fcn.004a6340
cmp eax, ebp
je 0x45ebac
mov ecx, dword [eax + 0x124]
mov edx, dword [eax + 0x128]
mov edi, dword [eax + 0x12c]
mov eax, ecx
sub eax, edi
sub eax, edx
cmp ecx, ebp
jg 0x45eb57
add edi, edx
test edi, edi
jle 0x45ebac
push eax
lea eax, [esp + 0x94]
push 0x768e88
push eax
call fcn.00572aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x21c], 0x1a
call fcn.00571160
mov ecx, dword [esp + 0x90]
mov byte [esp + 0x218], 0xd
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x45ebb6
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45ebb6
push eax
call dword [0x6c74ac]
add esp, 4
jmp 0x45ebb6
push ebp
lea ecx, [esp + 0x18]
call fcn.005728d0
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x188]
cmp eax, edx
jne 0x45ec04
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0x18c]
cmp ecx, eax
jne 0x45ec04
mov al, byte [esi + 0x190]
test al, al
jne 0x45ec04
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0xb0]
push eax
push ecx
lea ecx, [esp + 0xb8]
call dword [edx + 0xf0]
mov edx, dword [esp + 0xa8]
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push 0x900
push eax
lea ecx, [esp + 0x24]
push 0x8c9b40
push ecx
lea ecx, [esp + 0xc0]
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebp
je 0x45ee41
cmp dword [esp + 0x54], ebp
je 0x45ee41
mov ecx, dword [esi + 0x160]
mov edx, dword [esp + 0x38]
mov eax, dword [ecx + edx*4]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [eax]
call fcn.00401f10
mov ecx, dword [esp + 0x54]
push 1
push eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x38]
push edx
push eax
mov byte [esp + 0x228], 0x1b
call fcn.00493b10
mov ecx, dword [esp + 0x74]
mov bl, al
mov byte [esp + 0x218], 0xd
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x45eca4
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45eca4
push eax
call dword [0x6c74ac]
add esp, 4
test bl, bl
je 0x45ee41
lea edx, [esp + 0x144]
lea ecx, [esp + 0x60]
push edx
call fcn.0056f8a0
mov eax, dword [esp + 0x14c]
mov cl, byte [esp + 0x150]
mov dl, byte [esp + 0x151]
mov dword [esp + 0x68], eax
mov al, byte [esp + 0x152]
mov byte [esp + 0x6c], cl
mov cl, byte [esp + 0x153]
mov byte [esp + 0x6d], dl
mov dl, byte [esp + 0x154]
push 0xf
mov byte [esp + 0x72], al
mov byte [esp + 0x73], cl
mov byte [esp + 0x74], dl
call fcn.004f2300
mov edi, eax
lea eax, [esp + 0x148]
add esp, 4
cmp eax, edi
je 0x45ed23
push edi
lea ecx, [esp + 0x148]
call fcn.0056f8a0
mov ecx, dword [edi + 8]
mov dword [esp + 0x14c], ecx
mov dl, byte [edi + 0xc]
mov byte [esp + 0x150], dl
mov al, byte [edi + 0xd]
mov byte [esp + 0x151], al
mov cl, byte [edi + 0xe]
mov byte [esp + 0x152], cl
mov dl, byte [edi + 0xf]
mov byte [esp + 0x153], dl
mov al, byte [edi + 0x10]
mov byte [esp + 0x154], al
call fcn.00581aa0
cmp eax, ebp
je 0x45ed77
mov edx, dword [eax]
push ebp
push 0x77f96c
mov ecx, eax
call dword [edx + 8]
jmp 0x45ed7c
mov eax, 0x77f96c
cmp eax, ebp
jne 0x45ed85
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.00570720
push ebp
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push 0x900
push edx
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x20]
push 0x8c9b40
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x230], 0x1c
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x218], 0xd
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x45edee
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45edee
push eax
call dword [0x6c74ac]
add esp, 4
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x148]
call fcn.0056f8a0
mov edx, dword [esp + 0x68]
mov al, byte [esp + 0x6c]
mov cl, byte [esp + 0x6d]
mov dword [esp + 0x14c], edx
mov dl, byte [esp + 0x6e]
mov byte [esp + 0x150], al
mov al, byte [esp + 0x6f]
mov byte [esp + 0x151], cl
mov cl, byte [esp + 0x70]
mov byte [esp + 0x152], dl
mov byte [esp + 0x153], al
mov byte [esp + 0x154], cl
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x5c]
lea ecx, [eax + edx - 1]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x178]
inc ebx
cmp ebx, eax
mov dword [esp + 0x5c], ebx
jl 0x45e6bd
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x88]
lea ecx, [edx + ecx - 1]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 0x15c]
inc edx
cmp edx, eax
mov dword [esp + 0x38], edx
jl 0x45e657
lea ecx, [esp + 0xa8]
call fcn.004f6230
mov ecx, dword [esp + 0x1b0]
cmp ecx, ebp
je 0x45ef45
mov bl, byte [esp + 0x1b8]
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], edx
test bl, 2
mov dword [esp + 0x10], eax
je 0x45eefd
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0xb0]
call dword [edx + 0x13c]
mov ecx, dword [esp + 0x1b0]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1b4]
mov esi, dword [esi + 4]
cmp esi, ebp
jne 0x45ef0f
xor edi, edi
jmp 0x45ef12
mov edi, dword [esi + 0xc]
cmp esi, ebp
jne 0x45ef1a
xor esi, esi
jmp 0x45ef1d
mov esi, dword [esi + 8]
push 0xffffffffffffffff
push 0xffffffffffffffff
neg eax
mov ebx, dword [ecx]
push ebp
push 5
push eax
neg edx
lea eax, [esp + 0xbc]
push edx
push eax
push edi
push esi
push ebp
push ebp
call dword [ebx + 0x110]
mov dword [esp + 0x1b0], ebp
push 0x8c9b38
lea ecx, [esp + 0xac]
call fcn.004f7dd0
push 0x8c9b00
lea ecx, [esp + 0xac]
call fcn.004f7d10
push 0x8c9b10
lea ecx, [esp + 0xac]
call fcn.004f7c70
mov al, byte [esp + 0x2f]
test al, al
je 0x45ef92
mov ecx, dword [esp + 0x220]
cmp ecx, ebp
je 0x45ef92
mov edx, dword [ecx]
push 1
call dword [edx + 4]
lea ecx, [esp + 0x60]
mov byte [esp + 0x218], 0xb
call fcn.004dd920
lea ecx, [esp + 0x204]
mov byte [esp + 0x218], 0xa
call fcn.005754a0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x45efda
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45efda
mov esi, dword [0x6c74ac]
push eax
call esi
add esp, 4
jmp 0x45efe0
mov esi, dword [0x6c74ac]
mov ecx, dword [esp + 0x30]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x45effc
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45effc
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x58]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x45f018
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45f018
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x45f033
dec ecx
cmp ecx, ebp
mov dword [eax], ecx
jne 0x45f033
push eax
call esi
add esp, 4
mov dword [esp + 0xa8], vtable.wxBufferedDC.1.0
mov dword [esp + method.wxBufferedDC.virtual_0], vtable.wxBufferedDC.0
mov ecx, dword [esp + 0x1b0]
mov byte [esp + 0x218], 0x1d
cmp ecx, ebp
je 0x45f0e6
mov bl, byte [esp + 0x1b8]
xor eax, eax
xor edx, edx
mov dword [esp + 0x10], eax
test bl, 2
mov dword [esp + 0x18], edx
je 0x45f09e
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0xb0]
call dword [0x6cd29c]
mov ecx, dword [esp + 0x1b0]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1b4]
mov esi, dword [esi + 4]
cmp esi, ebp
jne 0x45f0b0
xor edi, edi
jmp 0x45f0b3
mov edi, dword [esi + 0xc]
cmp esi, ebp
jne 0x45f0bb
xor esi, esi
jmp 0x45f0be
mov esi, dword [esi + 8]
push 0xffffffffffffffff
push 0xffffffffffffffff
neg edx
push ebp
mov ebx, dword [ecx]
neg eax
push 5
push edx
push eax
lea eax, [esp + 0xc0]
push eax
push edi
push esi
push ebp
push ebp
call dword [ebx + 0x110]
mov dword [esp + 0x1b0], ebp
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x1a8]
neg eax
sbb eax, eax
mov byte [esp + 0x218], 5
and eax, ecx
lea ecx, [esp + 0xa8]
mov dword [eax], vtable.wxMemoryDCBase.0
call fcn.004f5e70
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x218], 4
call fcn.005730c0
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x218], 0xffffffff
call fcn.004dd920
mov ecx, dword [esp + 0x210]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20c
ret 4