Function at 0x6d513b79
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x298
mov dword [ebp - 0x10], 0x6d582868
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x17c], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
add eax, 0xc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xfc]
je 0x6d513c17
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xf8], eax
mov esi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 0x30]
call fcn.6d513ad9
cmp esi, eax
jne 0x6d513c0d
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x100], eax
jmp 0x6d513c21
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
jmp 0x6d513bd0
mov dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x50]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x234], esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x234]
add eax, dword [ecx + edx*8 + 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x88]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x88]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x88]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x88]
cmp eax, dword [ecx + 0x18]
jae 0x6d513dcd
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x64]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0xc0], 0
mov ecx, dword [ebp - 0x11c]
call fcn.6d513b39
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x240]
jae 0x6d513d90
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x8c]
mov al, byte [eax + ecx]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0xc0]
imul eax, dword [ebp - 0x244]
movzx ecx, byte [ebp - 0x35]
add eax, ecx
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x8c], eax
jmp 0x6d513d46
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x238]
jne 0x6d513dbf
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x224]
mov esi, dword [ebp - 0x64]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x118], eax
jmp 0x6d513dd7
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
jmp 0x6d513ce2
mov dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x104
call eax
sub esp, 0xc
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
sub ecx, 1
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x2c]
movzx ecx, cx
cmp eax, ecx
je 0x6d513e52
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
mov word [eax + ecx*2], 0
mov eax, dword [ebp - 0x34]
add eax, 0xffffffff
mov dword [ebp - 0x34], eax
jmp 0x6d513e21
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x70]
movsx eax, byte [eax + ecx]
cmp eax, 0
je 0x6d513e96
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x70]
movsx eax, byte [eax + ecx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
jmp 0x6d513e59
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x40]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x50]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x214], esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
add eax, dword [ecx + edx*8 + 0x78]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x84]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x84]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x84]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x84]
cmp eax, dword [ecx + 0x18]
jae 0x6d514010
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x60]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0x120]
call fcn.6d513b39
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x248]
jae 0x6d513fd3
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x90]
mov al, byte [eax + ecx]
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x24c]
movzx ecx, byte [ebp - 0x36]
add eax, ecx
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
jmp 0x6d513f89
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x218]
jne 0x6d514002
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x208]
mov edx, dword [ebp - 0x204]
mov esi, dword [ebp - 0x60]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x114], eax
jmp 0x6d51401a
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
jmp 0x6d513f25
mov dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x44]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x28]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x48]
mov edi, dword [ebp - 0x44]
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
call eax
sub esp, 0x1c
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x38]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x50]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1f4], esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x1f4]
add eax, dword [ecx + edx*8 + 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x80]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x80]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x80]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x80]
cmp eax, dword [ecx + 0x18]
jae 0x6d5141e0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ebp - 0x5c]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0x124]
call fcn.6d513b39
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x250]
jae 0x6d5141a3
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x94]
mov al, byte [eax + ecx]
mov byte [ebp - 0x37], al
mov eax, dword [ebp - 0xc8]
imul eax, dword [ebp - 0x254]
movzx ecx, byte [ebp - 0x37]
add eax, ecx
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x94]
add eax, 1
mov dword [ebp - 0x94], eax
jmp 0x6d514159
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x1f8]
jne 0x6d5141d2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x1e4]
mov esi, dword [ebp - 0x5c]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x110], eax
jmp 0x6d5141ea
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
jmp 0x6d5140f8
mov dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xf0]
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], 0
call eax
sub esp, 8
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x50]
cmp eax, ecx
jne 0x6d51423e
mov eax, dword [ebp - 0x168]
xor edx, edx
div dword [ebp - 0xbc]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x50]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1d4], esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ebp - 0x1d4]
add eax, dword [ecx + edx*8 + 0x78]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x7c]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x7c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x7c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x7c]
cmp eax, dword [ecx + 0x18]
jae 0x6d5143af
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x58]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0x128]
call fcn.6d513b39
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x258]
jae 0x6d514372
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x98]
mov al, byte [eax + ecx]
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0xcc]
imul eax, dword [ebp - 0x25c]
movzx ecx, byte [ebp - 0x38]
add eax, ecx
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x98]
add eax, 1
mov dword [ebp - 0x98], eax
jmp 0x6d514328
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x1d8]
jne 0x6d5143a1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x1c4]
mov esi, dword [ebp - 0x58]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x10c], eax
jmp 0x6d5143b9
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
jmp 0x6d5142c7
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0xf0]
lea edi, [ebp - 0xec]
xor ebx, ebx
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
call eax
sub esp, 0x14
cmp eax, 0
jne 0x6d514412
jmp 0x6d514a6a
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xec]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x158]
jae 0x6d51449a
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb4]
add eax, 1
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x6d514465
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [ebp - 0x14]
add eax, 1
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0x138]
call fcn.6d513b39
mov dword [ebp - 0x278], eax
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x278]
jae 0x6d514533
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xa8]
mov al, byte [eax + ecx]
mov byte [ebp - 0x3c], al
mov eax, dword [ebp - 0xdc]
imul eax, dword [ebp - 0x27c]
movzx ecx, byte [ebp - 0x3c]
add eax, ecx
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
jmp 0x6d5144e9
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x50]
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1b4], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1b4]
add eax, dword [ecx + edx*8 + 0x78]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x78]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x78]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x78]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x78]
cmp eax, dword [ecx + 0x18]
jae 0x6d514698
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x54]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0xd0], 0
mov ecx, dword [ebp - 0x12c]
call fcn.6d513b39
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x260]
jae 0x6d51465b
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x9c]
mov al, byte [eax + ecx]
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0xd0]
imul eax, dword [ebp - 0x264]
movzx ecx, byte [ebp - 0x39]
add eax, ecx
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x9c]
add eax, 1
mov dword [ebp - 0x9c], eax
jmp 0x6d514611
mov eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x1b8]
jne 0x6d51468a
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1a4]
mov esi, dword [ebp - 0x54]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x108], eax
jmp 0x6d5146a2
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
jmp 0x6d5145b0
mov dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [ebp - 0x14]
add eax, 1
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0xd8], 0
mov ecx, dword [ebp - 0x134]
call fcn.6d513b39
mov dword [ebp - 0x270], eax
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x270]
jae 0x6d514747
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0xa4]
mov al, byte [eax + ecx]
mov byte [ebp - 0x3b], al
mov eax, dword [ebp - 0xd8]
imul eax, dword [ebp - 0x274]
movzx ecx, byte [ebp - 0x3b]
add eax, ecx
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
jmp 0x6d5146fd
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x50]
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x194]
add eax, dword [ecx + edx*8 + 0x78]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x74]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x74]
cmp eax, dword [ecx + 0x18]
jae 0x6d5148ac
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x50]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0x130]
call fcn.6d513b39
mov dword [ebp - 0x268], eax
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x268]
jae 0x6d51486f
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xa0]
mov al, byte [eax + ecx]
mov byte [ebp - 0x3a], al
mov eax, dword [ebp - 0xd4]
imul eax, dword [ebp - 0x26c]
movzx ecx, byte [ebp - 0x3a]
add eax, ecx
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
jmp 0x6d514825
mov eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0x198]
jne 0x6d51489e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x184]
mov esi, dword [ebp - 0x50]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x104], eax
jmp 0x6d5148b6
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x6d5147c4
mov dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
add eax, ecx
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb0]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x144]
add eax, dword [ecx + 0x2c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x20]
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x68]
lea edi, [ebp - 0xac]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call eax
sub esp, 0x10
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x68]
mov dword [esp], eax
call fcn.6d513a49
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x68]
lea edi, [ebp - 0xac]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call eax
sub esp, 0x10
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x14c]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x40]
movsx eax, byte [eax + ecx]
cmp eax, 0
je 0x6d514a21
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x40]
movsx eax, byte [eax + ecx]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0x40]
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
jmp 0x6d5149ea
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x40]
mov word [eax + ecx*2], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x288], eax
mov byte [ebp - 0x280], 1
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x288]
mov dword [esp], eax
call dword [ebp - 0x13c]
add esp, 0x298
pop esi
pop edi
pop ebx
pop ebp
ret