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

Disassembly:
mov eax, dword [0x5b3a64]
sub esp, 0x188
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 8]
xor ebx, ebx
push edi
push ebx
call fcn.0048a460
mov ecx, dword [0x5b3a64]
call fcn.004af5c0
mov ecx, dword [esi + 0x1c]
push ebx
call fcn.0044a180
mov ecx, dword [esi + 0x30]
push ebx
call fcn.0044a180
mov ecx, dword [esi + 8]
mov edi, 0x100
mov dword [ecx + 0x80], ebx
mov edx, dword [esi + 8]
mov dword [edx + 0x84], ebx
mov eax, dword [esi + 8]
push ebx
mov ecx, dword [edi + eax]
call fcn.00485230
add edi, 4
cmp edi, 0x178
jl 0x4eacc0
mov ecx, 0xb2
mov eax, 0x124
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], ecx
mov ecx, 0xca
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x168], ecx
mov dword [esp + 0x180], ecx
mov dword [esp + 0x190], ecx
mov edx, 0xb3
mov eax, 0x11d
mov ecx, 0x18c
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x16c], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x17c], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x138], ecx
mov dword [esp + 0x140], ecx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x150], ecx
mov dword [esp + 0x158], ecx
mov dword [esp + 0x160], ecx
mov edx, 0xc9
mov eax, 0x12a
mov ecx, 0x169
mov dword [esp + 0x170], edx
mov dword [esp + 0x178], edx
mov dword [esp + 0x188], edx
mov dword [esp + 0x13c], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xd0], ecx
mov edx, 0x16a
mov eax, 0x11c
mov ecx, 0xd7
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ecx, 0xf5
mov eax, 0x129
mov edx, 0xf4
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x134], eax
mov eax, 0x128
mov ebp, dword [esp + 0x19c]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x130], ecx
mov eax, 0x121
mov ecx, 0x197
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], eax
mov eax, dword [0x5a2410]
mov dword [esp + 0x128], edx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf8], ecx
mov edx, 0x196
mov ecx, 0x1aa
cmp eax, ebx
mov dword [esp + 0xe0], edx
mov dword [esp + 0x100], edx
mov dword [esp + 0x78], 0x1ab
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], ecx
je 0x4eafae
movsx ecx, byte [ebp + 0xc]
push ecx
mov ecx, dword [eax + 8]
call fcn.004898f0
mov edx, dword [0x5b3a64]
push ebx
mov ecx, dword [edx + 8]
call fcn.0048a4e0
movsx eax, byte [ebp + 0x2f]
mov dword [esi + 0x108], eax
mov ecx, dword [esi + 8]
call fcn.004124b0
movsx eax, byte [ebp + 0x40]
mov dword [esi + 0x13c], eax
mov ecx, dword [0x5a2410]
cmp ecx, ebx
jne 0x4eb073
cmp eax, ebx
je 0x4eb01d
mov ecx, dword [esi + 8]
push 0x8bf
mov ecx, dword [ecx + 0xf8]
call fcn.004b5da0
mov edx, dword [esi + 8]
push 0xc6
push 0x1f8
mov ecx, dword [edx + 0xf8]
mov eax, dword [ecx]
call dword [eax + 0x28]
push 0x8c0
jmp 0x4eb04d
mov ecx, dword [esi + 8]
push 0x7ee
mov ecx, dword [ecx + 0xf8]
call fcn.004b5da0
mov edx, dword [esi + 8]
push 0xc6
push 0x1f8
mov ecx, dword [edx + 0xf8]
mov eax, dword [ecx]
call dword [eax + 0x28]
push 0x7ed
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0xfc]
call fcn.004b5da0
mov edx, dword [esi + 8]
push 0x135
push 0x21d
mov ecx, dword [edx + 0xfc]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp + 0x13]
mov eax, 0x1e8
movsx edx, byte [ecx]
mov edi, dword [esi + 8]
add eax, 4
inc ecx
cmp eax, 0x258
mov dword [eax + edi - 4], edx
jl 0x4eb07b
mov ecx, dword [esi + 8]
push 1
call fcn.004123d0
mov edi, 0x100
mov eax, dword [esi + 8]
mov ecx, dword [edi + eax]
call fcn.004100c0
cmp eax, 0x1a
jge 0x4eb0ba
mov ecx, dword [esi + 8]
mov ecx, dword [edi + ecx]
mov edx, dword [ecx]
call dword [edx + 0x18]
add edi, 4
cmp edi, 0x178
jl 0x4eb09f
movsx eax, byte [ebp + 0x30]
mov ecx, 1
mov dword [esi + 0x150], eax
cmp eax, ecx
jne 0x4eb0fb
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x18], edx
mov edx, dword [esi + 8]
mov dword [esi + 0x14], eax
mov dword [edx + 0x2dc], eax
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [eax + 0x2e0], edx
jmp 0x4eb128
cmp eax, ebx
jne 0x4eb122
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x18], edx
mov edx, dword [esi + 8]
mov dword [esi + 0x14], eax
mov dword [edx + 0x2dc], eax
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov dword [eax + 0x2e0], edx
jmp 0x4eb128
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov al, byte [ebp + 0x31]
test al, al
je 0x4eb137
mov dword [esi + 0x114], ecx
jmp 0x4eb13d
mov dword [esi + 0x114], ebx
movsx eax, byte [ebp + 0x32]
mov edx, dword [esi + 0x50]
mov dword [edx + 0x6c], eax
mov edx, dword [esi + 0x54]
movsx eax, byte [ebp + 0x33]
mov dword [edx + 0x6c], eax
movsx eax, byte [ebp + 0x34]
mov dword [esi + 0x154], eax
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4eb17b
movsx edx, byte [ebp + 0x35]
mov dword [eax + 0x20], edx
mov edx, dword [esi + 0x18]
movsx eax, byte [ebp + 0x36]
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 0xc], ecx
jmp 0x4eb187
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x20], ebx
mov edx, dword [esi + 0x10]
mov dword [edx + 0x20], ebx
cmp dword [0x5a2410], ebx
jne 0x4eb1b7
xor edi, edi
mov eax, dword [esi + edi*4 + 0xc]
push 1
push edi
mov ecx, dword [eax + 8]
call fcn.0047ef20
cmp edi, ebx
jne 0x4eb1b1
mov ecx, dword [esi + 0xc]
push 1
mov ecx, dword [ecx + 8]
call fcn.0047e030
inc edi
cmp edi, 2
jl 0x4eb191
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4eb20d
movsx edx, byte [ebp + 0x42]
mov dword [eax + 0x34], edx
mov eax, dword [esi + 0x14]
movsx ecx, byte [ebp + 0x43]
mov dword [eax + 0x40], ecx
mov eax, dword [esi + 0x14]
movsx edx, byte [ebp + 0x44]
mov dword [eax + 0x38], edx
mov eax, dword [esi + 0x14]
movsx ecx, byte [ebp + 0x45]
mov dword [eax + 0x3c], ecx
mov eax, dword [esi + 0x18]
movsx edx, byte [ebp + 0x46]
mov dword [eax + 0x34], edx
mov edx, dword [esi + 0x18]
movsx ecx, byte [ebp + 0x47]
mov dword [edx + 0x40], ecx
mov ecx, dword [esi + 0x18]
movsx eax, byte [ebp + 0x48]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x18]
movsx edx, byte [ebp + 0x49]
mov dword [eax + 0x3c], edx
jmp 0x4eb25d
movsx ecx, byte [ebp + 0x42]
mov edx, dword [esi + 0xc]
mov dword [edx + 0x34], ecx
mov ecx, dword [esi + 0xc]
movsx eax, byte [ebp + 0x43]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0xc]
movsx edx, byte [ebp + 0x44]
mov dword [eax + 0x38], edx
mov edx, dword [esi + 0xc]
movsx ecx, byte [ebp + 0x45]
mov dword [edx + 0x3c], ecx
mov ecx, dword [esi + 0x10]
movsx eax, byte [ebp + 0x46]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x10]
movsx edx, byte [ebp + 0x47]
mov dword [eax + 0x40], edx
mov edx, dword [esi + 0x10]
movsx ecx, byte [ebp + 0x48]
mov dword [edx + 0x38], ecx
mov ecx, dword [esi + 0x10]
movsx eax, byte [ebp + 0x49]
mov dword [ecx + 0x3c], eax
movsx edx, byte [ebp + 0x37]
mov dword [esi + 0x14c], edx
movsx eax, byte [ebp + 0x38]
mov dword [esi + 0x12c], eax
movsx ecx, byte [ebp + 0x39]
mov dword [esi + 0x140], ecx
movsx edx, byte [ebp + 0x3b]
mov dword [esi + 0x130], edx
movsx eax, byte [ebp + 0x3c]
mov dword [esi + 0x134], eax
movsx ecx, byte [ebp + 0x3f]
mov dword [esi + 0x138], ecx
movsx edx, byte [ebp + 0x3d]
mov dword [esi + 0x10c], edx
movsx eax, byte [ebp + 0x3e]
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x108]
movsx ecx, byte [ebp + 0x41]
cmp eax, ebx
mov dword [esi + 0x11c], ecx
jne 0x4eb2d1
mov ecx, dword [esi + 8]
call fcn.004323b0
mov dword [esi + 0x118], eax
jmp 0x4eb2d7
mov dword [esi + 0x118], ebx
mov edx, dword [0x5a32d8]
mov ecx, dword [esi + 0x1c]
neg edx
sbb edx, edx
and edx, 0x1dd
add edx, 0x80f
push edx
call fcn.004b5da0
mov ecx, dword [esi + 0x1c]
push ebx
call fcn.004b5e40
mov ecx, dword [esi + 0x1c]
push 0xd9
push ebx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [0x5a32d8]
mov ecx, dword [esi + 0x30]
neg eax
sbb eax, eax
and eax, 0x1bb
add eax, 0x831
push eax
call fcn.004b5da0
mov edi, dword [0x5a32d8]
xor ecx, ecx
cmp edi, ebx
setne cl
push ecx
mov ecx, dword [esi + 0x30]
call fcn.004b5e40
mov ecx, dword [esi + 0x30]
push 0xd9
push 0x23f
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp dword [esi + 0x108], ebx
jne 0x4eb383
cmp dword [esi + 0x150], ebx
jne 0x4eb37b
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x14]
jmp 0x4eb383
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x20]
push ebx
call fcn.004b5e40
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x24]
push ebx
call fcn.004b5e40
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x34]
push ebx
call fcn.004b5e40
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x38]
push ebx
call fcn.004b5e40
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [esi + 0x108], ebx
jne 0x4eb6fa
cmp dword [esi + 0x10c], ebx
jne 0x4eb606
cmp dword [esi + 0x138], ebx
jne 0x4eb606
cmp dword [esi + 0x134], ebx
je 0x4eb407
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x20]
mov ecx, dword [edx + 0x20]
add eax, ecx
je 0x4eb606
cmp dword [esi + 0x130], ebx
je 0x4eb426
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x20]
mov edi, dword [edx + 0x20]
add eax, edi
cmp eax, 1
je 0x4eb606
mov eax, dword [esi + 0x150]
cmp eax, ebx
mov eax, dword [esi + 0x13c]
jne 0x4eb508
cmp eax, ebx
je 0x4eb49c
mov ecx, dword [esi + 0x50]
push 0x7f2
call fcn.004b5da0
mov ecx, dword [esi + 0x54]
push 0x7f2
call fcn.004b5da0
mov ecx, dword [esi + 0x28]
push 0x8f9
call fcn.004b5da0
mov ecx, dword [esi + 0x2c]
push 0x8fa
call fcn.004b5da0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb661
mov ecx, dword [esi + 0x28]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0xd4]
mov eax, dword [esp + eax + 0xd0]
push edi
jmp 0x4eb65d
mov ecx, dword [esi + 0x50]
push 0x837
call fcn.004b5da0
mov ecx, dword [esi + 0x54]
push 0x837
call fcn.004b5da0
mov ecx, dword [esi + 0x28]
push 0x833
call fcn.004b5da0
mov ecx, dword [esi + 0x2c]
push 0x835
call fcn.004b5da0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb4f5
mov ecx, dword [esi + 0x28]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0x134]
mov eax, dword [esp + eax + 0x130]
push edi
push eax
call dword [edx + 0x28]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb6fa
jmp 0x4eb6df
cmp eax, ebx
je 0x4eb589
mov ecx, dword [esi + 0x50]
push 0x837
call fcn.004b5da0
mov ecx, dword [esi + 0x54]
push 0x837
call fcn.004b5da0
mov ecx, dword [esi + 0x28]
push 0x8f7
call fcn.004b5da0
mov ecx, dword [esi + 0x2c]
push 0x8f8
call fcn.004b5da0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb55f
mov ecx, dword [esi + 0x28]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0x44]
mov eax, dword [esp + eax + 0x40]
push edi
push eax
call dword [edx + 0x28]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb6fa
mov ecx, dword [esi + 0x2c]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0x104]
mov eax, dword [esp + eax + 0x100]
push edi
jmp 0x4eb6f6
mov ecx, dword [esi + 0x50]
push 0x7f2
call fcn.004b5da0
mov ecx, dword [esi + 0x54]
push 0x7f2
call fcn.004b5da0
mov ecx, dword [esi + 0x28]
push 0x817
call fcn.004b5da0
mov ecx, dword [esi + 0x2c]
push 0x818
call fcn.004b5da0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb5dc
mov ecx, dword [esi + 0x28]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0x14]
mov eax, dword [esp + eax + 0x10]
push edi
push eax
call dword [edx + 0x28]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb6fa
mov ecx, dword [esi + 0x2c]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0x164]
mov eax, dword [esp + eax + 0x160]
push edi
jmp 0x4eb6f6
cmp dword [esi + 0x13c], ebx
je 0x4eb682
mov ecx, dword [esi + 0x50]
push 0x837
call fcn.004b5da0
mov ecx, dword [esi + 0x54]
push 0x7f2
call fcn.004b5da0
mov ecx, dword [esi + 0x28]
push 0x8f7
call fcn.004b5da0
mov ecx, dword [esi + 0x2c]
push 0x8fa
call fcn.004b5da0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb661
mov ecx, dword [esi + 0x28]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0x44]
mov eax, dword [esp + eax + 0x40]
push edi
push eax
call dword [edx + 0x28]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb6fa
mov ecx, dword [esi + 0x2c]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0x74]
mov eax, dword [esp + eax + 0x70]
push edi
jmp 0x4eb6f6
mov ecx, dword [esi + 0x50]
push 0x7f2
call fcn.004b5da0
mov ecx, dword [esi + 0x54]
push 0x837
call fcn.004b5da0
mov ecx, dword [esi + 0x28]
push 0x817
call fcn.004b5da0
mov ecx, dword [esi + 0x2c]
push 0x835
call fcn.004b5da0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb6d5
mov ecx, dword [esi + 0x28]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0x14]
mov eax, dword [esp + eax + 0x10]
push edi
push eax
call dword [edx + 0x28]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb6fa
mov ecx, dword [esi + 0x2c]
shl eax, 3
mov edx, dword [ecx]
mov edi, dword [esp + eax + 0xa4]
mov eax, dword [esp + eax + 0xa0]
push edi
push eax
call dword [edx + 0x28]
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb769
cmp dword [esi + 0x154], 3
jne 0x4eb742
add eax, 5
jmp 0x4eb743
dec eax
push eax
call fcn.004b5e40
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x6c]
dec ecx
push ecx
mov ecx, dword [esi + 0x28]
call fcn.004b5e40
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x54]
mov edi, 1
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x4eb7b4
cmp dword [esi + 0x154], edi
jne 0x4eb78d
cmp dword [esi + 0x114], ebx
je 0x4eb78d
add eax, 5
jmp 0x4eb78e
dec eax
push eax
call fcn.004b5e40
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx + 0x6c]
mov ecx, dword [esi + 0x2c]
dec edx
push edx
call fcn.004b5e40
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x10], ebx
mov edx, dword [esi + 0x10]
mov dword [edx + 0x10], ebx
mov al, byte [ebp + 0x3a]
cmp al, 2
jne 0x4eb7d5
mov eax, dword [esi + 0xc]
mov dword [eax + 0x10], edi
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x10], edi
jmp 0x4eb7eb
mov ecx, dword [esi + 0xc]
movsx edx, al
cmp edx, dword [ecx + 0x28]
jne 0x4eb7e5
mov dword [ecx + 0x10], edi
jmp 0x4eb7eb
mov eax, dword [esi + 0x10]
mov dword [eax + 0x10], edi
mov eax, dword [esi + 0x12c]
mov edi, dword [esi + 0x14c]
or ebx, 0xffffffff
test eax, eax
je 0x4eb8f3
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x4eb83c
push 0x70
call fcn.004d8630
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4eb830
mov ecx, ebp
call fcn.004b5b50
mov dword [ebp], vtable.DoublingCube.0
mov dword [ebp + 0x6c], 0
jmp 0x4eb832
xor ebp, ebp
mov dword [esi + 0x4c], ebp
mov ebp, dword [esp + 0x19c]
mov ecx, dword [esi + 0x4c]
push 0x838
call fcn.004b5da0
mov ecx, dword [esi + 0x4c]
push 4
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x14c], 1
jne 0x4eb87f
mov ecx, dword [esi + 0x4c]
push 0xb
call fcn.004b5e40
mov ecx, dword [esi + 0x4c]
push 0x119
push 0x45
mov edx, dword [ecx]
call dword [edx + 0x28]
jmp 0x4eb8eb
cmp edi, 1
je 0x4eb893
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
inc ebx
cmp edi, 1
jne 0x4eb884
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4eb8d0
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x4eb8bb
mov ecx, dword [esi + 0x4c]
push 0x119
push 0x45
mov edx, dword [ecx]
call dword [edx + 0x28]
add ebx, 6
jmp 0x4eb8e2
test eax, eax
je 0x4eb8d0
mov ecx, dword [esi + 0x4c]
push 0x180
push 0x1b
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x4eb8e2
mov ecx, dword [esi + 0x4c]
push 0xc9
push 0x65
mov edx, dword [ecx]
call dword [edx + 0x28]
add ebx, 0xc
mov ecx, dword [esi + 0x4c]
push ebx
call fcn.004b5e40
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edi, 0x210
mov ecx, 0xffffffb0
sub edi, ebp
sub ecx, ebp
mov dword [esi + 0x120], 0
lea eax, [ebp + 0x50]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 3
jmp 0x4eb920
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
mov ebx, dword [eax - 4]
add ecx, eax
mov dword [ecx + edx + 0x258], ebx
mov edx, dword [esi + 8]
mov ebx, dword [eax]
mov dword [ecx + edx + 0x25c], ebx
mov edx, dword [esi + 8]
mov ebx, dword [eax + 0x10]
mov dword [ecx + edx + 0x26c], ebx
mov edx, dword [esi + 8]
mov ebx, dword [eax + 0x14]
mov dword [ecx + edx + 0x270], ebx
lea ecx, [edi + eax]
mov edx, 3
mov ebp, dword [esp + 0x19c]
mov ebx, dword [esi + 8]
mov ebp, dword [ebp + ecx - 0x20c]
mov dword [ecx + ebx], ebp
add ecx, 4
dec edx
jne 0x4eb95d
mov ecx, dword [esp + 0x10]
add eax, 0x1c
dec ecx
mov dword [esp + 0x10], ecx
jne 0x4eb91c
mov eax, dword [esi + 0x154]
test eax, eax
je 0x4eb9fa
mov ecx, dword [esi + 8]
call fcn.00431070
mov eax, dword [esi + 0x114]
test eax, eax
je 0x4eb9aa
cmp dword [esi + 0x154], 4
jl 0x4eb9b3
cmp dword [esi + 0x154], 1
jne 0x4eb9d7
mov ecx, dword [0x5a2410]
test ecx, ecx
je 0x4eb9d3
mov ecx, dword [ecx + 8]
mov eax, dword [esi + 0x150]
cmp eax, dword [ecx + 0xc]
jne 0x4eba61
push 0
jmp 0x4eb9d9
push 0
jmp 0x4eb9d9
push 1
mov edx, dword [0x5a32b8]
push 0x9c87
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x60]
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x4eba61
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x4eba57
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4eba57
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4eba57
mov ecx, dword [0x5a2410]
test ecx, ecx
je 0x4eba31
mov edx, dword [ecx + 8]
mov eax, dword [esi + 0x150]
xor ecx, ecx
cmp eax, dword [edx + 0xc]
sete cl
mov eax, ecx
jmp 0x4eba47
mov ecx, dword [eax + 8]
call fcn.0047e230
neg eax
sbb eax, eax
xor edx, edx
inc eax
test eax, eax
sete dl
mov eax, edx
test eax, eax
je 0x4eba57
mov dword [esi + 0x128], 1
jmp 0x4eba61
mov dword [esi + 0x128], 0
mov eax, dword [esp + 0x19c]
add eax, 0xd
cmp byte [eax], 0
je 0x4eba85
push eax
mov ecx, esi
call fcn.004ebed0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret 4
mov eax, dword [esi + 0x108]
test eax, eax
jne 0x4ebaae
mov ecx, dword [0x5b3a64]
push 5
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [0x5b3a64]
push 0
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret 4