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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47987a
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x28], edi
xor esi, esi
cmp dword [edi + 0x3c], esi
je 0x40c84d
lea ecx, [esp + 0x14]
call dword [0x47ce28]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x84], esi
call dword [0x47ce18]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea ecx, [esp + 0x18]
call dword [0x47c848]
cmp ax, 0x5f
jne 0x40c783
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
dec eax
push eax
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call dword [0x47c868]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call dword [0x47c994]
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0
call dword [0x47ce24]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
push ecx
push ebx
push str.GUBar::CDrawObjectFactory::CreateStatusListDraw
push edi
mov dword [esp + 0x30], esi
call fcn.0040ac20
mov esi, eax
test esi, esi
jne 0x40cc9c
mov edx, dword [esp + 0x14]
push eax
push fcn.0040c6d0
push ebx
push edi
lea ecx, [esp + 0x30]
call fcn.0040ad00
cmp dword [esp + 0x20], 0
mov esi, eax
mov dword [esp + 0x34], esi
jne 0x40c7cf
test esi, esi
jne 0x40cc9c
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 0x47d9d0
push 0x47e144
push ebx
call eax
push eax
lea ecx, [esp + 0x28]
call dword [0x47ce1c]
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x84], 2
call fcn.00411620
lea edx, [esp + 0x24]
push 0x47e144
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x88], 3
call fcn.00404480
add esp, 8
test eax, eax
jne 0x40c864
lea ebx, [esp + 0x5c]
call fcn.00411f90
mov eax, dword [esp + 0x5c]
push eax
call fcn.0047284c
add esp, 4
lea ecx, [esp + 0x24]
call dword [0x47ce24]
lea ecx, [esp + 0x14]
call dword [0x47ce24]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x40c87e
push 0x47e15c
lea ecx, [esp + 0x18]
call dword [0x47c850]
push 0x24
call fcn.0047286a
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x80], 4
test eax, eax
je 0x40c8a4
push eax
call fcn.00407860
mov dword [esp + 0x20], eax
jmp 0x40c8ac
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x18]
call dword [0x47ce28]
mov byte [esp + 0x80], 5
mov esi, dword [esp + 0x68]
mov ebx, dword [0x47c2fc]
cmp esi, dword [esp + 0x6c]
jbe 0x40c8d0
call ebx
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
lea esp, [esp]
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x68], esi
jbe 0x40c8ec
call ebx
test edi, edi
je 0x40c8f6
cmp edi, dword [esp + 0x5c]
je 0x40c8f8
call ebx
cmp dword [esp + 0x40], esi
je 0x40cbcb
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
je 0x40c9b2
test edi, edi
jne 0x40c9ab
call ebx
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x10]
jb 0x40c927
call ebx
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
mov edi, dword [ecx - 0xc]
cmp eax, edi
jl 0x40cb77
lea esi, [esp + 0x3c]
mov ebx, ecx
call fcn.00411e80
mov eax, dword [eax]
push edi
push ebx
push eax
call dword [0x47c430]
add esp, 0xc
test eax, eax
jne 0x40cb71
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00411e80
mov ecx, eax
call dword [0x47c864]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 6
call dword [0x47c994]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 5
call dword [0x47ce24]
mov ebx, dword [0x47c2fc]
mov edi, dword [esp + 0x3c]
jmp 0x40c9d8
mov eax, dword [edi]
jmp 0x40c91c
test edi, edi
jne 0x40cb98
call ebx
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x10]
jb 0x40c9c9
call ebx
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
call dword [0x47c994]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x40cb7b
lea esi, [esp + 0x3c]
call fcn.00411e80
mov eax, dword [eax]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 0
push eax
mov eax, dword [ebp + 8]
push eax
call edx
push eax
lea ecx, [esp + 0x20]
call dword [0x47ce1c]
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x40cb5f
lea ecx, [esp + 0x44]
push ecx
call fcn.00411620
lea edx, [esp + 0x1c]
push 0x47e144
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 8
call fcn.00404480
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov edx, ecx
sub edx, eax
sar edx, 2
add esp, 8
cmp edx, 3
jae 0x40ca75
lea eax, [esp + 0x44]
push eax
call fcn.004116a0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov esi, dword [0x47c2fc]
mov edx, ecx
sub edx, eax
sar edx, 2
cmp edx, 2
ja 0x40ca91
call esi
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 8]
cmp dword [edx - 0xc], 0
je 0x40caf6
mov edi, 2
lea esi, [esp + 0x44]
call fcn.004116c0
push eax
lea eax, [esp + 0x34]
push eax
mov edi, 0x47e15c
call fcn.00403020
add esp, 8
push eax
mov edi, 2
mov byte [esp + 0x84], 9
call fcn.004116c0
mov ecx, eax
call dword [0x47c994]
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 8
call dword [0x47ce24]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov esi, dword [0x47c2fc]
mov edx, ecx
sub edx, eax
sar edx, 2
push 0
cmp edx, 2
ja 0x40cb0e
call esi
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 8]
push edx
mov edx, ecx
sub edx, eax
sar edx, 2
cmp edx, 1
ja 0x40cb28
call esi
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 4]
sub ecx, eax
sar ecx, 2
push edx
test ecx, ecx
ja 0x40cb3b
call esi
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call dword [0x47ce04]
mov ecx, ebx
call fcn.0040d7b0
mov esi, eax
test esi, esi
jne 0x40cb9f
lea eax, [esp + 0x44]
call fcn.00411680
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 5
call dword [0x47ce24]
mov ebx, dword [0x47c2fc]
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x40cbc7
call ebx
xor eax, eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [eax + 0x10]
jb 0x40cb8e
call ebx
add dword [esp + 0x40], 4
jmp 0x40c8e0
mov eax, dword [edi]
jmp 0x40c9be
push 0xffffffffffffffff
push 0x47e15c
lea eax, [esp + 0x20]
push eax
push 0x496dc8
call fcn.00404600
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
add esp, 0x10
push esi
push eax
mov eax, dword [edx + 0x14]
call eax
jmp 0x40cb56
mov eax, dword [edi]
jmp 0x40cb83
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x40cbde
push eax
push esi
call fcn.00407ce0
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push 0
mov ecx, esi
call eax
test eax, eax
jne 0x40cc00
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40cc00
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x14]
push 0
mov ecx, esi
call eax
cmp dword [esi + 0x20], 0
jne 0x40cc5b
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x18]
call dword [0x47ce24]
lea ebx, [esp + 0x5c]
call fcn.00411f90
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0047284c
add esp, 4
lea ecx, [esp + 0x24]
call dword [0x47ce24]
lea ecx, [esp + 0x14]
call dword [0x47ce24]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
push edx
push eax
push str.GUBar::CDrawObjectFactory::CreateStatusListDraw
push esi
call fcn.0040ab60
lea ecx, [esp + 0x18]
call dword [0x47ce24]
lea ebx, [esp + 0x5c]
call fcn.00411f90
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0047284c
add esp, 4
lea ecx, [esp + 0x24]
call dword [0x47ce24]
lea ecx, [esp + 0x14]
call dword [0x47ce24]
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc