Function at 0x4edf84
Capabilities:
Load assembly via iassembly

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], ecx
mov esi, edx
mov ebx, eax
mov edx, dword [esp]
mov eax, ebx
call fcn.004e9004
test eax, eax
jne 0x4edfda
mov edi, dword [ebx + 0x608]
dec edi
test edi, edi
jl 0x4ee557
inc edi
mov dword [esp + 8], 0
mov eax, dword [ebx + 0x60c]
mov edx, dword [esp + 8]
mov ecx, dword [eax + edx*4]
mov edx, esi
mov eax, ebx
call fcn.004edf84
inc dword [esp + 8]
dec edi
jne 0x4edfb8
jmp 0x4ee557
cmp dword [esp], 0
jl 0x4ee557
mov ebx, eax
mov edx, esp
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, ebx
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 4]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0xc]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x10]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0xf4]
lea edx, [eax + 4]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0xf4]
lea edx, [eax + 8]
mov ecx, 8
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0xf4]
lea edx, [eax + 0x10]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0xf4]
lea edx, [eax + 0x14]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0xf4]
lea edx, [eax + 0x18]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x88]
call fcn.00409e00
mov dword [esp + 8], eax
lea edx, [esp + 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebx + 0x88]
mov ecx, dword [esp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x8c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x2c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x30]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x34]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x38]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x3c]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x90]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x14]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x3d]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebx + 0x10], 0xb
jne 0x4ee197
lea edx, [ebx + 0x24]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x28]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x29]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov al, byte [ebx + 0x10]
cmp al, 1
je 0x4ee1a2
cmp al, 0xb
jne 0x4ee1de
lea edx, [ebx + 0x18]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x19]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x1c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x20]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebx + 0x10], 4
jne 0x4ee202
lea edx, [ebx + 0x40]
mov ecx, 8
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x48]
mov ecx, 8
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebx + 0x10], 5
jne 0x4ee226
lea edx, [ebx + 0x50]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x54]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x4ee235
cmp al, 0xb
jne 0x4ee2f2
lea edx, [ebx + 0x60]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x61]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x58]
call fcn.00409e00
mov dword [esp + 8], eax
lea edx, [esp + 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebx + 0x58]
mov ecx, dword [esp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebx + 0x5c], 0
je 0x4ee2a9
mov byte [esp + 0x10], 1
lea edx, [esp + 0x10]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebx + 0x5c]
mov ecx, 0x3c
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
jmp 0x4ee2be
mov byte [esp + 0x10], 0
lea edx, [esp + 0x10]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x68]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x68]
test eax, eax
jle 0x4ee2f2
mov ecx, eax
shl ecx, 4
mov edx, dword [ebx + 0x64]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x6c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebx + 0x10], 0xa
jne 0x4ee448
mov edi, dword [ebx + 0x58]
test edi, edi
jne 0x4ee30b
xor eax, eax
mov dword [esp + 8], eax
jmp 0x4ee316
mov eax, edi
call fcn.00409e00
mov dword [esp + 8], eax
lea edx, [esp + 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x4ee33a
mov edx, eax
mov ecx, dword [esp + 8]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebx + 0x5c], 0
je 0x4ee366
mov byte [esp + 0x10], 1
lea edx, [esp + 0x10]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebx + 0x5c]
mov ecx, 0x3c
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
jmp 0x4ee37b
mov byte [esp + 0x10], 0
lea edx, [esp + 0x10]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [esp + 8]
shl ecx, 2
mov edx, dword [ebx + 0x70]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edi, dword [esp + 0xc]
dec edi
test edi, edi
jl 0x4ee3d9
inc edi
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x74]
call fcn.0041bd64
mov edx, eax
mov ecx, 0x118
mov eax, esi
mov ebp, dword [eax]
call dword [ebp + 0xc]
inc dword [esp + 4]
dec edi
jne 0x4ee3b8
lea edx, [ebx + 0x62]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x61]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x78]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x7c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x80]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x60]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x84]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebx + 0x10], 7
jne 0x4ee4b3
lea edx, [ebx + 0x91]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x92]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebx + 0x5c], 0
je 0x4ee49e
mov byte [esp + 0x10], 1
lea edx, [esp + 0x10]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebx + 0x5c]
mov ecx, 0x3c
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
jmp 0x4ee4b3
mov byte [esp + 0x10], 0
lea edx, [esp + 0x10]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebx + 0x10], 8
jne 0x4ee53f
lea edx, [ebx + 0x98]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebx + 0x98]
shl ecx, 3
mov edx, dword [ebx + 0x94]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x9c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0xa0]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0xa4]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0xa8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0xac]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebx + 0x10], 9
jne 0x4ee557
lea edx, [ebx + 0xb8]
mov ecx, 0x18
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret