Function at 0x4b40b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a9be
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], ecx
push str.Tue_Jun_16_19:26:23_2015
push 0x21c
push str.CMagic::DrawMagic
push str.GameProcessMagic.cpp
lea ecx, [ebp - 0x59]
call fcn.004024e0
mov dword [ebp - 4], 0
movzx eax, byte [0x663c2e]
test eax, eax
je 0x4b4180
mov ecx, dword [ebp - 0x154]
movsx edx, word [ecx + 0x18]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x154]
movsx ecx, word [eax + 0x1a]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x154]
movsx eax, word [edx + 0x18]
add eax, 0x30
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x154]
movsx edx, word [ecx + 0x1a]
add edx, 0x24
mov dword [ebp - 0x60], edx
push 0xff000000
push 6
push 0xff00ff00
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x68]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x60]
mov dword [eax + 0xc], edx
mov ecx, 0x69ec08
call fcn.00535720
jmp 0x4b4a2a
movzx eax, byte [0x663c2f]
test eax, eax
jne 0x4b41be
mov ecx, dword [ebp - 0x154]
movzx edx, word [ecx + 8]
cmp edx, 0x1a5
je 0x4b41be
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x59]
call fcn.00402620
mov al, byte [ebp - 0xe9]
jmp 0x4b4a46
mov ecx, 0x69ec08
call fcn.0040ceb0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x4b4a2a
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ecx + 0xa4]
call eax
test eax, eax
jl 0x4b4a2a
mov ecx, dword [ebp - 0x154]
movzx edx, byte [ecx + 4]
test edx, edx
jne 0x4b4a19
push 0
push 0
push 0
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x104]
call fcn.0053c280
test eax, eax
je 0x4b4a19
mov ecx, dword [ebp - 0x154]
movzx edx, byte [ecx + 6]
test edx, edx
jne 0x4b452d
mov eax, dword [ebp - 0x154]
movzx ecx, word [eax + 8]
cmp ecx, 5
je 0x4b4261
mov edx, dword [ebp - 0x154]
movzx eax, word [edx + 8]
cmp eax, 0x71
jne 0x4b43c0
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x154]
movsx edx, word [ecx + 0x1a]
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x104]
mov eax, dword [ecx + 0x63]
movsx ecx, word [eax + 6]
add edx, ecx
mov eax, dword [ebp - 0x154]
movzx ecx, byte [eax + 0x78]
add edx, dword [ecx*8 + 0x5ade9c]
mov dword [ebp - 0x158], edx
fild dword [ebp - 0x158]
push ecx
fstp dword [esp]
mov edx, dword [ebp - 0x154]
movsx eax, word [edx + 0x18]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x104]
mov ecx, dword [edx + 0x63]
movsx edx, word [ecx + 4]
add eax, edx
mov ecx, dword [ebp - 0x154]
movzx edx, byte [ecx + 0x78]
add eax, dword [edx*8 + 0x5ade98]
mov dword [ebp - 0x15c], eax
fild dword [ebp - 0x15c]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x1c]
call fcn.0043af00
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, 0x7b931c
call fcn.004dfc30
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x154]
movsx edx, word [ecx + 0x1a]
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x104]
mov eax, dword [ecx + 0x63]
movsx ecx, word [eax + 6]
add edx, ecx
mov eax, dword [ebp - 0x154]
movzx ecx, byte [eax + 0x78]
add edx, dword [ecx*8 + 0x5ade9c]
mov dword [ebp - 0x160], edx
fild dword [ebp - 0x160]
push ecx
fstp dword [esp]
mov edx, dword [ebp - 0x154]
movsx eax, word [edx + 0x18]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x104]
mov ecx, dword [edx + 0x63]
movsx edx, word [ecx + 4]
add eax, edx
mov ecx, dword [ebp - 0x154]
movzx edx, byte [ecx + 0x78]
add eax, dword [edx*8 + 0x5ade98]
mov dword [ebp - 0x164], eax
fild dword [ebp - 0x164]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x28]
call fcn.0043af00
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, 0x7b9e04
call fcn.004e1130
jmp 0x4b452d
mov ecx, dword [ebp - 0x154]
movzx edx, word [ecx + 8]
cmp edx, 1
jne 0x4b452d
push ecx
fldz
fstp dword [esp]
mov eax, dword [ebp - 0x154]
movsx ecx, word [eax + 0x1a]
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 0x104]
mov edx, dword [eax + 0x63]
movsx eax, word [edx + 6]
add ecx, eax
mov edx, dword [ebp - 0x154]
movzx eax, byte [edx + 0x78]
add ecx, dword [eax*8 + 0x5ade1c]
mov dword [ebp - 0x168], ecx
fild dword [ebp - 0x168]
push ecx
fstp dword [esp]
mov ecx, dword [ebp - 0x154]
movsx edx, word [ecx + 0x18]
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x104]
mov eax, dword [ecx + 0x63]
movsx ecx, word [eax + 4]
add edx, ecx
mov eax, dword [ebp - 0x154]
movzx ecx, byte [eax + 0x78]
add edx, dword [ecx*8 + 0x5ade18]
mov dword [ebp - 0x16c], edx
fild dword [ebp - 0x16c]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x34]
call fcn.0043af00
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov ecx, 0x7b931c
call fcn.004dfc30
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x154]
movsx edx, word [ecx + 0x1a]
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x104]
mov eax, dword [ecx + 0x63]
movsx ecx, word [eax + 6]
add edx, ecx
mov eax, dword [ebp - 0x154]
movzx ecx, byte [eax + 0x78]
add edx, dword [ecx*8 + 0x5ade1c]
mov dword [ebp - 0x170], edx
fild dword [ebp - 0x170]
push ecx
fstp dword [esp]
mov edx, dword [ebp - 0x154]
movsx eax, word [edx + 0x18]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x104]
mov ecx, dword [edx + 0x63]
movsx edx, word [ecx + 4]
add eax, edx
mov ecx, dword [ebp - 0x154]
movzx edx, byte [ecx + 0x78]
add eax, dword [edx*8 + 0x5ade18]
mov dword [ebp - 0x174], eax
fild dword [ebp - 0x174]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x40]
call fcn.0043af00
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, 0x7b9e04
call fcn.004e1130
mov ecx, dword [ebp - 0x154]
movzx edx, word [ecx + 8]
cmp edx, 0x27
je 0x4b454f
mov eax, dword [ebp - 0x154]
movzx ecx, word [eax + 8]
cmp ecx, 0x28
jne 0x4b4619
mov edx, dword [ebp - 0x154]
movzx eax, byte [edx + 0x25c]
test eax, eax
jne 0x4b4619
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x154]
movsx edx, word [ecx + 0x1a]
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x104]
mov eax, dword [ecx + 0x63]
movsx ecx, word [eax + 6]
add edx, ecx
mov eax, dword [ebp - 0x154]
movzx ecx, byte [eax + 0x78]
mov eax, dword [ecx*8 + 0x5add9c]
lea ecx, [edx + eax - 0x14]
mov dword [ebp - 0x178], ecx
fild dword [ebp - 0x178]
push ecx
fstp dword [esp]
mov edx, dword [ebp - 0x154]
movsx eax, word [edx + 0x18]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x104]
mov ecx, dword [edx + 0x63]
movsx edx, word [ecx + 4]
add eax, edx
mov ecx, dword [ebp - 0x154]
movzx edx, byte [ecx + 0x78]
mov ecx, dword [edx*8 + 0x5add98]
lea edx, [eax + ecx - 0x1e]
mov dword [ebp - 0x17c], edx
fild dword [ebp - 0x17c]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x4c]
call fcn.0043af00
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, 0x7b9e04
call fcn.004e1130
mov ecx, dword [ebp - 0x154]
movzx edx, word [ecx + 8]
cmp edx, 0x43
jne 0x4b46ee
mov eax, dword [ebp - 0x154]
movzx ecx, byte [eax + 0x25c]
test ecx, ecx
jne 0x4b46ee
push ecx
fldz
fstp dword [esp]
mov edx, dword [ebp - 0x154]
movsx eax, word [edx + 0x1a]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x104]
mov ecx, dword [edx + 0x63]
movsx edx, word [ecx + 6]
add eax, edx
mov ecx, dword [ebp - 0x154]
movzx edx, byte [ecx + 0x78]
add eax, dword [edx*8 + 0x5add1c]
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x180]
push ecx
fstp dword [esp]
mov eax, dword [ebp - 0x154]
movsx ecx, word [eax + 0x18]
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 0x104]
mov edx, dword [eax + 0x63]
movsx eax, word [edx + 4]
add ecx, eax
mov edx, dword [ebp - 0x154]
movzx eax, byte [edx + 0x78]
add ecx, dword [eax*8 + 0x5add18]
mov dword [ebp - 0x184], ecx
fild dword [ebp - 0x184]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x58]
call fcn.0043af00
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, 0x7b9fc8
call fcn.00461460
mov ecx, dword [ebp - 0x154]
movsx edx, word [ecx + 0x18]
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x104]
mov eax, dword [ecx + 0x63]
movsx ecx, word [eax + 4]
add edx, ecx
mov dword [ebp - 0xe0], edx
mov edx, dword [ebp - 0x154]
movsx eax, word [edx + 0x1a]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x104]
mov ecx, dword [edx + 0x63]
movsx edx, word [ecx + 6]
add eax, edx
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0x104]
mov edx, dword [ecx + 0x63]
movsx eax, word [edx]
add eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x104]
mov eax, dword [edx + 0x63]
movsx ecx, word [eax + 2]
add ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x154]
movzx eax, byte [edx + 0x48]
shl eax, 0x10
or eax, 0xff000000
mov ecx, dword [ebp - 0x154]
movzx edx, byte [ecx + 0x49]
shl edx, 8
or eax, edx
mov ecx, dword [ebp - 0x154]
movzx edx, byte [ecx + 0x4a]
or eax, edx
mov dword [ebp - 0x74], eax
push fcn.0043af30
push 4
push 0x18
lea eax, [ebp - 0xdc]
push eax
call fcn.0043b1c0
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x74]
push ecx
push ecx
fld1
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
fild dword [ebp - 0xe8]
push ecx
fstp dword [esp]
fild dword [ebp - 0xe0]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x104]
call fcn.0043af50
mov edx, dword [eax]
mov dword [ebp - 0xdc], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xd8], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0xd4], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xd0], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xcc], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc8], eax
push ecx
fldz
fstp dword [esp]
push ecx
fld1
fstp dword [esp]
mov ecx, dword [ebp - 0x74]
push ecx
push ecx
fld1
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
fild dword [ebp - 0xe8]
push ecx
fstp dword [esp]
fild dword [ebp - 0xe4]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x11c]
call fcn.0043af50
mov edx, dword [eax]
mov dword [ebp - 0xc4], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc0], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0xbc], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xb8], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xb4], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xb0], eax
push ecx
fld1
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x74]
push ecx
push ecx
fld1
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
fild dword [ebp - 0x78]
push ecx
fstp dword [esp]
fild dword [ebp - 0xe0]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x134]
call fcn.0043af50
mov edx, dword [eax]
mov dword [ebp - 0xac], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa8], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0xa4], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xa0], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x9c], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x98], eax
push ecx
fld1
fstp dword [esp]
push ecx
fld1
fstp dword [esp]
mov ecx, dword [ebp - 0x74]
push ecx
push ecx
fld1
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
fild dword [ebp - 0x78]
push ecx
fstp dword [esp]
fild dword [ebp - 0xe4]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x14c]
call fcn.0043af50
mov edx, dword [eax]
mov dword [ebp - 0x94], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x90], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x8c], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x88], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x84], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx + 0x104]
mov eax, dword [edx + 0x6b]
push eax
push 0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [edx + 0x104]
call ecx
push 0x142
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [eax + 0x164]
call edx
push 1
push 0x1b
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ecx + 0xe4]
call eax
push 0xe
push 0x13
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [edx + 0xe4]
call ecx
push 4
push 0x14
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [eax + 0xe4]
call edx
push 0x18
lea eax, [ebp - 0xdc]
push eax
push 2
push 5
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [edx + 0x14c]
call ecx
push 0
push 0
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [eax + 0x104]
call edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ecx + 0xa8]
call eax
mov byte [ebp - 0x14d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x59]
call fcn.00402620
mov al, byte [ebp - 0x14d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret