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

Disassembly:
push 0xffffffffffffffff
push 0x74afe6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
mov edx, ecx
push esi
push edi
xor eax, eax
lea edi, [edx + 0x4c3c]
mov ecx, 0x2300
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
call fcn.005d4bb0
push 0x284
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor ebp, ebp
or ebx, 0xffffffff
cmp esi, ebp
mov dword [esp + 0x9c], ebp
je 0x5d6cfa
push ebx
push 0x7cc108
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x8c
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [0x914294]
mov dword [esi + 0x280], eax
mov dword [0x914294], esi
mov dword [esp + 0x24], esi
jmp 0x5d6cfe
mov dword [esp + 0x24], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebp
mov dword [esp + 0x9c], 1
je 0x5d6d66
push ebx
push str.MELEE
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x8c
xor eax, eax
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov ecx, dword [0x914294]
mov dword [esi + 0x280], ecx
mov dword [0x914294], esi
mov dword [esp + 0x3c], esi
jmp 0x5d6d6a
mov dword [esp + 0x3c], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebp
mov dword [esp + 0x9c], 2
je 0x5d6dd2
push ebx
push str.RANGED
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x8c
xor eax, eax
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov edx, dword [0x914294]
mov dword [esi + 0x280], edx
mov dword [0x914294], esi
mov dword [esp + 0x34], esi
jmp 0x5d6dd6
mov dword [esp + 0x34], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebp
mov dword [esp + 0x9c], 3
je 0x5d6e3d
push ebx
push str.MOUNTED
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x8c
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [0x914294]
mov dword [esi + 0x280], eax
mov dword [0x914294], esi
mov dword [esp + 0x48], esi
jmp 0x5d6e41
mov dword [esp + 0x48], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebp
mov dword [esp + 0x9c], 4
je 0x5d6ea9
push ebx
push str.INFANTRY
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x8c
xor eax, eax
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov ecx, dword [0x914294]
mov dword [esi + 0x280], ecx
mov dword [0x914294], esi
mov dword [esp + 0x14], esi
jmp 0x5d6ead
mov dword [esp + 0x14], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
cmp esi, ebp
mov dword [esp + 0x9c], 5
je 0x5d6f15
push ebx
push str.SIEGE
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x8c
xor eax, eax
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov edx, dword [0x914294]
mov dword [esi + 0x280], edx
mov dword [0x914294], esi
mov dword [esp + 0x30], esi
jmp 0x5d6f19
mov dword [esp + 0x30], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
cmp esi, ebp
mov dword [esp + 0x9c], 6
je 0x5d6f80
push ebx
push str.SWORD
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x8c
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [0x914294]
mov dword [esi + 0x280], eax
mov dword [0x914294], esi
mov dword [esp + 0x28], esi
jmp 0x5d6f84
mov dword [esp + 0x28], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebp
mov dword [esp + 0x9c], 7
je 0x5d6fec
push ebx
push str.SPEAR
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x8c
xor eax, eax
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov ecx, dword [0x914294]
mov dword [esi + 0x280], ecx
mov dword [0x914294], esi
mov dword [esp + 0x38], esi
jmp 0x5d6ff0
mov dword [esp + 0x38], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebp
mov dword [esp + 0x9c], 8
je 0x5d7058
push ebx
push str.ARROW
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x8c
xor eax, eax
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov edx, dword [0x914294]
mov dword [esi + 0x280], edx
mov dword [0x914294], esi
mov dword [esp + 0x40], esi
jmp 0x5d705c
mov dword [esp + 0x40], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebp
mov dword [esp + 0x9c], 9
je 0x5d70c3
push ebx
push str.STONE
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x8c
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [0x914294]
mov dword [esi + 0x280], eax
mov dword [0x914294], esi
mov dword [esp + 0x20], esi
jmp 0x5d70c7
mov dword [esp + 0x20], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebp
mov dword [esp + 0x9c], 0xa
je 0x5d712f
push ebx
push str.HEALTH
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x8c
xor eax, eax
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov ecx, dword [0x914294]
mov dword [esi + 0x280], ecx
mov dword [0x914294], esi
mov dword [esp + 0x1c], esi
jmp 0x5d7133
mov dword [esp + 0x1c], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebp
mov dword [esp + 0x9c], 0xb
je 0x5d719b
push ebx
push str.NOHEALTH
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x8c
xor eax, eax
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov edx, dword [0x914294]
mov dword [esi + 0x280], edx
mov dword [0x914294], esi
mov dword [esp + 0x44], esi
jmp 0x5d719f
mov dword [esp + 0x44], ebp
push 0x284
mov dword [esp + 0xa0], ebx
call fcn.0040fa60
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebp
mov dword [esp + 0x9c], 0xc
je 0x5d7206
push ebx
push str.NOATTACK
mov ecx, esi
call fcn.00413870
xor eax, eax
mov ecx, 0x11
lea edi, [esi + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x8c
lea edi, [esi + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [0x914294]
mov dword [esi + 0x280], eax
mov dword [0x914294], esi
mov dword [esp + 0x2c], esi
jmp 0x5d720a
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x9c], ebx
xor bl, bl
cmp dword [eax + 0x4c38], 0
mov ebp, 0x100
jle 0x5d737d
xor esi, esi
jmp 0x5d7230
lea ecx, [esi + esi*4]
add ecx, ecx
add ecx, ecx
sub ecx, esi
shl ecx, 4
cmp dword [ecx + eax + 0x78], 0
lea edi, [ecx + eax + 0x38]
je 0x5d7367
mov edx, dword [esp + 0x24]
mov byte [esi + edx + 8], 1
mov eax, dword [edi + 0x40]
test dword [eax + 0x8e4], ebp
je 0x5d726a
mov ecx, dword [esp + 0x1c]
mov byte [esi + ecx + 8], 1
jmp 0x5d7273
mov edx, dword [esp + 0x44]
mov byte [esi + edx + 8], 1
mov eax, dword [edi + 0x40]
test byte [eax + 0x8e4], 1
je 0x5d72a0
mov ecx, eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
test eax, eax
je 0x5d7295
mov eax, dword [esp + 0x34]
mov byte [esi + eax + 8], 1
jmp 0x5d72a9
mov ecx, dword [esp + 0x3c]
mov byte [esi + ecx + 8], 1
jmp 0x5d72a9
mov edx, dword [esp + 0x2c]
mov byte [esi + edx + 8], 1
mov eax, dword [edi + 0x40]
test byte [eax + 0x8e5], 2
je 0x5d72be
mov ecx, dword [esp + 0x40]
mov byte [esi + ecx + 8], 1
mov edx, dword [edi + 0x40]
test byte [edx + 0x8e5], 4
je 0x5d72d3
mov eax, dword [esp + 0x38]
mov byte [esi + eax + 8], 1
mov ecx, dword [edi + 0x40]
test byte [ecx + 0x8e4], 4
je 0x5d72e8
mov edx, dword [esp + 0x48]
mov byte [esi + edx + 8], 1
mov eax, dword [edi + 0x40]
test byte [eax + 0x8e5], 8
je 0x5d72fd
mov ecx, dword [esp + 0x30]
mov byte [esi + ecx + 8], 1
mov edx, dword [edi + 0x40]
mov eax, dword [edx + 0x8e4]
test ah, 8
je 0x5d732f
test al, 1
je 0x5d732f
mov ecx, edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
je 0x5d732f
mov ecx, dword [edi + 0x40]
test byte [ecx + 0x8e5], 2
jne 0x5d732f
mov edx, dword [esp + 0x20]
mov byte [esi + edx + 8], 1
cmp bl, 1
je 0x5d734f
mov eax, dword [edi + 0x40]
mov eax, dword [eax + 0x8e4]
test ah, 0xe
jne 0x5d734f
test al, 1
je 0x5d734f
mov ecx, dword [esp + 0x28]
mov byte [esi + ecx + 8], 1
mov edx, dword [edi + 0x40]
test dword [edx + 0x8e4], 0x804
jne 0x5d7367
mov eax, dword [esp + 0x14]
mov byte [esi + eax + 8], 1
mov eax, dword [esp + 0x10]
add bl, 1
movzx esi, bl
cmp esi, dword [eax + 0x4c38]
jl 0x5d7230
lea ecx, [esp + 0x4c]
call fcn.004049b0
push str.DEFS_units_military_bonuses.ini
lea ecx, [esp + 0x50]
mov dword [esp + 0xa0], 0xd
call fcn.00403a50
push str.groups
lea ecx, [esp + 0x50]
call fcn.00402f10
test eax, eax
je 0x5d73f9
push eax
lea ecx, [esp + 0x50]
call fcn.00403130
mov esi, eax
test esi, esi
je 0x5d73f9
push esi
lea ecx, [esp + 0x50]
call fcn.00402f50
mov edi, eax
test edi, edi
je 0x5d73e9
push esi
lea ecx, [esp + 0x50]
call fcn.00405410
test eax, eax
je 0x5d73e9
push eax
push edi
call fcn.005d4a00
add esp, 8
push esi
lea ecx, [esp + 0x50]
call fcn.00403120
mov esi, eax
test esi, esi
jne 0x5d73c1
push str.dump
lea ecx, [esp + 0x50]
call fcn.00402f10
test eax, eax
je 0x5d7447
push eax
lea ecx, [esp + 0x50]
call fcn.00403130
mov esi, eax
test esi, esi
je 0x5d7447
jmp 0x5d7420
push esi
lea ecx, [esp + 0x50]
call fcn.00402f50
test eax, eax
je 0x5d7437
push eax
call fcn.005d1930
add esp, 4
push esi
lea ecx, [esp + 0x50]
call fcn.00403120
mov esi, eax
test esi, esi
jne 0x5d7420
push 0
lea ecx, [esp + 0x50]
call fcn.004030b0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x28], ebp
je 0x5d75fd
push ebp
lea ecx, [esp + 0x50]
call fcn.00402f50
mov ebx, eax
push str.groups
push ebx
mov dword [esp + 0x28], ebx
call fcn.0071f59b
add esp, 8
test eax, eax
je 0x5d75e5
push str.dump
push ebx
call fcn.0071f59b
add esp, 8
test eax, eax
je 0x5d75e5
push ebx
call fcn.005d1800
mov edi, eax
add esp, 4
test edi, edi
je 0x5d75e5
push ebp
lea ecx, [esp + 0x50]
call fcn.00403130
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x5d75e5
jmp 0x5d74d0
mov ebx, dword [esp + 0x20]
lea ecx, [ecx]
push esi
lea ecx, [esp + 0x50]
call fcn.00402f50
test ebx, ebx
mov ebp, eax
je 0x5d75c5
push esi
lea ecx, [esp + 0x50]
call fcn.00405410
test eax, eax
mov dword [esp + 0x24], eax
je 0x5d75c5
push 1
lea ecx, [esp + 0x28]
push 1
push ecx
xor esi, esi
xor ebx, ebx
call fcn.0040fd70
mov edx, dword [esp + 0x30]
mov cx, word [edx]
add esp, 0xc
cmp cx, 0x72
je 0x5d758a
cmp cx, 0x6d
jne 0x5d75c5
mov esi, eax
push 1
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0040fd70
add esp, 0xc
test eax, eax
je 0x5d7552
mov ecx, dword [esp + 0x24]
mov cx, word [ecx]
cmp cx, 0x72
je 0x5d758e
cmp cx, 0x6d
jne 0x5d75c5
mov esi, eax
push ebp
call fcn.005d1800
add esp, 4
test eax, eax
je 0x5d7592
lea ecx, [eax + 8]
lea eax, [edi + 0x168]
mov edx, 0x46
lea ecx, [ecx]
cmp byte [ecx], 0
je 0x5d757d
add dword [eax - 0x118], esi
add dword [eax], ebx
add eax, 4
add ecx, 1
sub edx, 1
jne 0x5d7570
jmp 0x5d75c5
mov ebx, eax
jmp 0x5d7528
mov ebx, eax
jmp 0x5d7552
push ebp
call fcn.005d1850
add esp, 4
test eax, eax
jl 0x5d75af
movzx eax, al
add dword [edi + eax*4 + 0x50], esi
add dword [edi + eax*4 + 0x168], ebx
jmp 0x5d75c5
mov eax, dword [edi]
push ebp
push eax
push str.__s_:_Unit_type_not_found:__s_r_n
push 0x7807b0
call fcn.0040ed60
add esp, 0x10
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
call fcn.00403120
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x5d74c9
mov ebp, dword [esp + 0x28]
push ebp
lea ecx, [esp + 0x50]
call fcn.00403070
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x28], ebp
jne 0x5d7460
lea ecx, [esp + 0x4c]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004049f0
mov esi, dword [0x914294]
test esi, esi
mov edi, dword [esp + 0x10]
je 0x5d76f3
jmp 0x5d7630
xor bl, bl
cmp dword [edi + 0x4c38], 0
jle 0x5d76e5
xor ecx, ecx
cmp byte [ecx + esi + 8], 0
je 0x5d76d3
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8 + 0x923c]
lea ecx, [esi + 0x168]
mov edx, 0xe
lea ebx, [ebx]
mov ebp, dword [ecx - 0x118]
add dword [eax - 0x4600], ebp
mov ebp, dword [ecx]
add dword [eax], ebp
mov ebp, dword [ecx - 0x114]
add dword [eax - 0x45fc], ebp
mov ebp, dword [ecx + 4]
add dword [eax + 4], ebp
mov ebp, dword [ecx - 0x110]
add dword [eax - 0x45f8], ebp
mov ebp, dword [ecx + 8]
add dword [eax + 8], ebp
mov ebp, dword [ecx - 0x10c]
add dword [eax - 0x45f4], ebp
mov ebp, dword [ecx + 0xc]
add dword [eax + 0xc], ebp
mov ebp, dword [ecx - 0x108]
add dword [eax - 0x45f0], ebp
mov ebp, dword [ecx + 0x10]
add dword [eax + 0x10], ebp
add ecx, 0x14
add eax, 0x14
sub edx, 1
jne 0x5d7670
add bl, 1
movzx ecx, bl
cmp ecx, dword [edi + 0x4c38]
jl 0x5d7641
mov esi, dword [esi + 0x280]
test esi, esi
jne 0x5d7630
cmp dword [edi + 0x4c38], 0
mov byte [esp + 0x1a], 0
jle 0x5d7a3c
xor ebx, ebx
mov edx, dword [esp + 0x10]
lea ecx, [ebx + ebx*4]
add ecx, ecx
add ecx, ecx
sub ecx, ebx
shl ecx, 4
mov eax, dword [ecx + edx + 0x78]
test eax, eax
lea esi, [ecx + edx + 0x38]
mov dword [esp + 0x1c], esi
je 0x5d7a1f
test byte [eax + 0x8e4], 1
je 0x5d7a1f
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x10]
mov edi, eax
neg edi
sbb edi, edi
neg edi
cmp dword [ecx + 0x4c38], 0
mov dword [esp + 0x14], edi
mov byte [esp + 0x1b], 0
jle 0x5d78ea
mov eax, dword [esp + 0x10]
xor ecx, ecx
lea edx, [ecx + ecx*4]
add edx, edx
add edx, edx
sub edx, ecx
shl edx, 4
mov esi, dword [edx + eax + 0x78]
test esi, esi
lea edi, [edx + eax + 0x38]
je 0x5d78c5
mov eax, dword [esi + 0x8e4]
test al, 2
je 0x5d78c5
test ah, 1
je 0x5d779f
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax + 0x7c]
jmp 0x5d77a6
mov edx, dword [esp + 0x1c]
mov ebp, dword [edx + 0x74]
mov edx, dword [esp + 0x10]
lea eax, [ebx*8]
sub eax, ebx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov edx, dword [edx + ecx*4 + 0x4c3c]
add edx, 0x64
mov esi, dword [edi + 0x94]
imul edx, ebp
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test esi, esi
mov edx, dword [esp + 0x10]
mov dword [edx + ecx*4 + 0x4c3c], eax
je 0x5d7814
mov edx, 0x64
sub edx, esi
imul edx, eax
mov eax, 0x51eb851f
imul edx
mov eax, dword [esp + 0x10]
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [eax + ecx*4 + 0x4c3c], esi
jmp 0x5d7818
mov eax, dword [esp + 0x10]
cmp dword [eax + ecx*4 + 0x4c3c], 0
jge 0x5d782d
mov dword [eax + ecx*4 + 0x4c3c], 0
cmp dword [esp + 0x14], 0
je 0x5d78c5
mov eax, dword [edi + 0x40]
test byte [eax + 0x8e5], 1
je 0x5d7850
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x80]
jmp 0x5d7857
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x78]
mov esi, dword [edi + 0x98]
mov edi, dword [esp + 0x10]
mov edx, dword [edi + ecx*4 + 0x923c]
add edx, 0x64
imul edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test esi, esi
mov dword [edi + ecx*4 + 0x923c], eax
je 0x5d78ac
mov edx, 0x64
sub edx, esi
imul edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + ecx*4 + 0x923c], eax
cmp dword [edi + ecx*4 + 0x923c], 0
jge 0x5d78c5
mov edx, dword [esp + 0x10]
mov dword [edx + ecx*4 + 0x923c], 0
mov al, byte [esp + 0x1b]
add al, 1
movzx ecx, al
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 0x4c38]
jl 0x5d7767
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
lea eax, [ebx*8]
sub eax, ebx
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*8 + 0x4d40]
lea ecx, [ecx + eax*8]
add edx, 0x64
imul edx, dword [esi + 0x7c]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x4d40], eax
jns 0x5d792e
xor ebx, ebx
mov dword [ecx + 0x4d40], ebx
jmp 0x5d7930
xor ebx, ebx
cmp edi, ebx
je 0x5d7963
mov edx, dword [ecx + 0x9340]
add edx, 0x64
imul edx, dword [esi + 0x80]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x9340], eax
jns 0x5d7963
mov dword [ecx + 0x9340], ebx
mov edx, dword [ecx + 0x4d44]
add edx, 0x64
imul edx, dword [esi + 0x84]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x4d44], eax
jns 0x5d7992
mov dword [ecx + 0x4d44], ebx
mov edx, dword [ecx + 0x4d48]
add edx, 0x64
imul edx, dword [esi + 0x88]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x4d48], eax
jns 0x5d79c1
mov dword [ecx + 0x4d48], ebx
mov edx, dword [ecx + 0x4d4c]
add edx, 0x64
imul edx, dword [esi + 0x8c]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x4d4c], eax
jns 0x5d79f0
mov dword [ecx + 0x4d4c], ebx
mov edx, dword [ecx + 0x4d50]
add edx, 0x64
imul edx, dword [esi + 0x90]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x4d50], eax
jns 0x5d7a1f
mov dword [ecx + 0x4d50], ebx
mov al, byte [esp + 0x1a]
mov edx, dword [esp + 0x10]
add al, 1
movzx ebx, al
cmp ebx, dword [edx + 0x4c38]
mov byte [esp + 0x1a], al
jl 0x5d7707
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret