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

Disassembly:
push 0xffffffffffffffff
push 0x5d0cd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x64], ebp
xor ebx, ebx
mov dword [esp + 0x120], 3
push ebx
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60aafc
call fcn.00558100
push ecx
lea eax, [esp + 0x140]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x134], 4
call fcn.00558070
mov ecx, 0x619a58
mov byte [esp + 0x130], 3
call fcn.00543af0
cmp ax, 4
je 0x475d4b
lea ecx, [esp + 0x50]
call fcn.00558060
lea ecx, [esp + 0xc4]
mov byte [esp + 0x120], 5
call fcn.00544b40
push ecx
lea edx, [ebp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x128], 6
call fcn.00558070
lea ecx, [esp + 0x54]
call fcn.00558390
mov esi, dword [esp + 0x128]
lea ecx, [esp + 0x50]
mov ax, si
shr ax, 8
push eax
push 4
mov word [esp + 0x1c], ax
call fcn.005584a0
push esi
push 5
lea ecx, [esp + 0x58]
call fcn.005584a0
push 5
lea ecx, [esp + 0xc8]
call fcn.005453f0
lea ecx, [esp + 0x80]
call fcn.00558060
mov al, byte [esp + 0x13]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x18], cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ecx
lea edx, [ebp + 0xbc]
mov esi, esp
mov dword [esp + 0x30], esp
sub esp, 0x10
mov byte [esp + 0x134], 9
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00412500
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x54]
lea ecx, [esp + 0x84]
call fcn.00558390
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00558070
mov eax, dword [ebp]
lea ecx, [esp + 0x94]
push ecx
mov ecx, ebp
call dword [eax + 0x4c]
mov esi, eax
lea edx, [esp + 0x30]
mov byte [esp + 0x120], 0xa
cmp edx, esi
je 0x475083
mov edx, dword [esi + 4]
cmp edx, ebx
jne 0x474f79
xor eax, eax
jmp 0x474f81
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 2
mov edi, dword [esp + 0x34]
cmp edi, ebx
jne 0x474f8d
xor ecx, ecx
jmp 0x474f96
mov ecx, dword [esp + 0x38]
sub ecx, edi
sar ecx, 2
cmp eax, ecx
ja 0x474fce
mov eax, dword [esi + 8]
push edi
push eax
push edx
call fcn.00412590
mov ecx, dword [esp + 0x44]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00402cf0
mov ecx, esi
call fcn.0056e680
mov edx, dword [esp + 0x34]
lea eax, [edx + eax*4]
mov dword [esp + 0x38], eax
jmp 0x475083
mov ecx, esi
call fcn.0056e680
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00412570
cmp edi, eax
ja 0x47502c
mov edi, dword [esi + 4]
lea ecx, [esp + 0x30]
call fcn.0056e680
mov ecx, dword [esp + 0x34]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00412590
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x30]
push edx
push eax
push edi
call fcn.00402d20
mov ecx, esi
call fcn.0056e680
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*4]
mov dword [esp + 0x38], edx
jmp 0x475083
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00402cf0
mov edx, dword [esp + 0x34]
push edx
call fcn.005bc500
add esp, 4
mov ecx, esi
call fcn.0056e680
cmp eax, ebx
jge 0x475059
xor eax, eax
shl eax, 2
push eax
call fcn.005bcf2f
add esp, 4
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.00402d20
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
cmp esi, edi
mov byte [esp + 0x120], 9
je 0x4750b3
push ebx
mov ecx, esi
call fcn.00406c10
add esi, 4
cmp esi, edi
jne 0x47509d
mov esi, dword [esp + 0x94]
push esi
call fcn.005bc500
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push ecx
push eax
push eax
call fcn.00412590
mov edx, dword [esp + 0x30]
add esp, 0x10
mov esi, eax
lea ecx, [esp + 0x18]
push edx
push esi
call fcn.00402cf0
lea eax, [esp + 0xc4]
lea edx, [esp + 0x30]
push eax
mov dword [esp + 0x24], esi
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00412500
lea eax, [esp + 0xa4]
mov ecx, ebp
push eax
call fcn.004359d0
mov esi, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 0xb
cmp ecx, esi
je 0x475224
mov edx, dword [esi + 4]
cmp edx, ebx
jne 0x47512c
xor eax, eax
jmp 0x475134
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 2
mov edi, dword [esp + 0x1c]
cmp edi, ebx
jne 0x475140
xor ecx, ecx
jmp 0x475149
mov ecx, dword [esp + 0x20]
sub ecx, edi
sar ecx, 2
cmp eax, ecx
ja 0x475181
mov eax, dword [esi + 8]
push edi
push eax
push edx
call fcn.00412590
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.00402cf0
mov ecx, esi
call fcn.0056e680
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + eax*4]
mov dword [esp + 0x20], edx
jmp 0x475224
mov ecx, esi
call fcn.0056e680
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00412570
cmp edi, eax
ja 0x4751cd
mov edi, dword [esi + 4]
lea ecx, [esp + 0x18]
call fcn.0056e680
mov ecx, dword [esp + 0x1c]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00412590
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x18]
push edx
push eax
push edi
call fcn.00402d20
jmp 0x47516a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00402cf0
mov edx, dword [esp + 0x1c]
push edx
call fcn.005bc500
add esp, 4
mov ecx, esi
call fcn.0056e680
cmp eax, ebx
jge 0x4751fa
xor eax, eax
shl eax, 2
push eax
call fcn.005bcf2f
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x24]
call fcn.00402d20
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
cmp esi, edi
mov byte [esp + 0x120], 9
je 0x475254
push ebx
mov ecx, esi
call fcn.00406c10
add esi, 4
cmp esi, edi
jne 0x47523e
mov esi, dword [esp + 0x94]
push esi
call fcn.005bc500
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, ebx
jne 0x47526e
mov dword [esp + 0x88], ebx
jmp 0x47527e
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x88], eax
lea ecx, [esp + 0xe4]
call fcn.00559c60
mov cl, byte [esp + 0x13]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x6c], cl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x124], 0xd
mov dword [esp + 0x88], 1
mov byte [esp + 0xa4], dl
call fcn.00401850
lea ecx, [esp + 0x40]
mov byte [esp + 0x120], 0xe
call fcn.00558060
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x124], 0xf
mov byte [esp + 0xb8], al
call fcn.00401850
mov cl, byte [esp + 0x13]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x54], cl
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
xor edx, edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x48], edx
mov byte [esp + 0x120], 0x11
mov byte [esp + 0x44], 3
mov byte [esp + 0x45], 0x30
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov word [esp + 0x4c], dx
call fcn.00558060
mov ax, word [0x60a94c]
mov esi, dword [esp + 0x12c]
mov cl, byte [0x60a94e]
mov dl, byte [esp + 0x14]
mov word [esp + 0xd0], ax
mov al, byte [esi + 1]
mov byte [esp + 0xd2], cl
push 6
push 0x60aaf0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x128], 0x12
mov byte [esp + 0x4e], dl
mov byte [esp + 0x4f], al
call fcn.00558100
mov ecx, dword [esp + 0x5c]
push eax
push 1
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x12c], 0x13
call fcn.00402a90
lea ecx, [esp + 0x14]
mov byte [esp + 0x120], 0x12
call fcn.005581a0
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x138]
push edx
push 1
push eax
lea ecx, [esp + 0x60]
call fcn.00402a90
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x13c]
push ecx
push 1
push edx
lea ecx, [esp + 0x60]
call fcn.00402a90
cmp byte [esi], bl
je 0x475493
push 4
lea ecx, [esp + 0x138]
call fcn.00558380
mov ecx, dword [ebp + 4]
sub esp, 0x24
mov edx, esp
mov dword [esp + 0x38], esp
lea esi, [esp + 0xf4]
mov byte [esp + 0xf6], al
mov eax, dword [ecx]
push 0xff
push esi
push edx
call dword [eax + 0xc]
lea ecx, [esp + 0x108]
call fcn.00559e10
push 5
lea ecx, [esp + 0x138]
call fcn.00558380
shr al, 4
and al, 7
lea ecx, [esp + 0xe4]
movzx si, al
call fcn.0055a240
test ax, ax
jle 0x475493
push ecx
lea ecx, [esp + 0xe8]
mov eax, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0055a190
lea ecx, [esp + 0x44]
call fcn.00558390
lea ecx, [esp + 0x40]
call fcn.00558520
movsx edx, si
movsx ecx, ax
add edx, 5
cmp ecx, edx
jle 0x475493
add esi, 5
lea ecx, [esp + 0x40]
push esi
call fcn.00558380
mov byte [esp + 0x47], al
mov edi, 0x60aaec
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0xa4]
push ebp
call fcn.004018c0
test al, al
je 0x4754e0
mov edi, dword [esp + 0xa4]
mov ecx, ebp
mov eax, ecx
mov esi, 0x60aaec
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xa4]
call fcn.004018a0
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
push ecx
push eax
push eax
call fcn.00412590
mov edx, dword [esp + 0x80]
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x6c]
push edx
push esi
call fcn.00402cf0
mov al, byte [esp + 0x47]
lea ecx, [esp + 0x44]
push 0xa
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x7c], esi
mov byte [esp + 0x1b], al
mov byte [esp + 0x33], bl
call fcn.005585e0
cmp word [esp + 0x84], bx
je 0x475600
mov esi, dword [esp + 0x64]
sub esp, 0x24
mov eax, esp
mov dword [esp + 0x38], esp
mov ecx, dword [esi + 4]
lea edi, [esp + 0x68]
push 0xff
push edi
mov edx, dword [ecx]
push eax
mov dword [esp + 0xb4], ebx
call dword [edx + 0xc]
lea ecx, [esp + 0x108]
call fcn.00559e10
lea ecx, [esp + 0xe4]
call fcn.0055a240
test ax, ax
jle 0x475a92
lea ecx, [esp + 0x68]
call fcn.00558520
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00558070
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x12c], 0x14
call fcn.00558070
mov edx, dword [esi]
lea eax, [esp + 0x110]
push eax
mov ecx, esi
mov byte [esp + 0x12c], 0x12
call dword [edx + 0x2c]
mov ecx, dword [0x5e5150]
mov byte [esp + 0x120], 0x15
push ecx
push ebx
push eax
lea ecx, [esp + 0xc0]
call fcn.004120f0
mov esi, 1
lea ecx, [esp + 0x108]
push esi
mov byte [esp + 0x124], 0x12
call fcn.00401850
jmp 0x475605
mov esi, 1
mov edx, dword [esp + 0x12c]
mov cl, byte [esp + 0x47]
mov al, byte [edx + 2]
cmp cl, al
jbe 0x47562d
cmp cl, byte [edx + 3]
jae 0x475629
mov dword [esp + 0x8c], esi
mov dword [esp + 0x2c], esi
jmp 0x475645
cmp cl, al
ja 0x47563a
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x2c], esi
jmp 0x475645
mov dword [esp + 0x8c], esi
mov dword [esp + 0x2c], ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x60aae4
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.00548370
xor esi, esi
mov ecx, dword [esp + 0x58]
cmp ecx, ebx
jne 0x475671
xor eax, eax
jmp 0x47567a
mov eax, dword [esp + 0x5c]
sub eax, ecx
sar eax, 2
movsx ecx, si
cmp ecx, eax
jae 0x4756a7
push ebx
push ecx
lea ecx, [esp + 0x5c]
call fcn.00402a80
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00558070
mov ecx, dword [0x619a64]
call fcn.005484f0
inc esi
jmp 0x475665
mov dl, byte [esp + 0xb4]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00401850
mov eax, dword [0x5e5150]
lea ecx, [esp + 0xc4]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004120f0
push ecx
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
mov byte [esp + 0x138], 0x16
call fcn.00558070
mov ecx, dword [0x619a64]
mov byte [esp + 0x134], 0x12
call fcn.00548570
cmp word [esp + 0x88], bx
jle 0x475947
movsx eax, word [esp + 0x88]
xor esi, esi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
push 5
lea ecx, [ecx + esi*4]
call fcn.00558380
mov edx, dword [esp + 0x1c]
push 5
shr al, 4
and al, 7
lea ecx, [edx + esi*4]
movzx di, al
add edi, 5
call fcn.00558380
test al, 0x80
je 0x475765
mov eax, dword [esp + 0x1c]
push 5
lea ecx, [eax + esi*4]
call fcn.00558380
and al, 7
movzx bp, al
inc ebp
jmp 0x47576a
mov ebp, 1
mov ecx, dword [esp + 0x34]
push 4
lea ecx, [ecx + esi*4]
call fcn.00558380
mov cl, byte [esp + 0x2b]
mov byte [esp + 0xd2], al
cmp al, cl
je 0x4757ce
mov edx, dword [esp + 0x64]
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0xa0], esp
mov eax, dword [edx + 4]
lea edx, [esp + 0xf4]
push 0xff
push edx
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx + 4]
call dword [eax + 0xc]
lea ecx, [esp + 0x108]
call fcn.00559e10
mov dl, byte [esp + 0xd2]
mov byte [esp + 0x2b], dl
lea ecx, [esp + 0xe4]
call fcn.0055a240
test ax, ax
jle 0x4758d0
push ecx
lea ecx, [esp + 0xe8]
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call fcn.0055a190
lea ecx, [esp + 0x44]
call fcn.00558390
lea ecx, [esp + 0x40]
call fcn.00558520
movsx ecx, ax
movsx edx, bp
movsx eax, di
add edx, eax
cmp ecx, edx
jle 0x4758d0
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
call fcn.00558070
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x128], 0x17
call fcn.00402a80
push ecx
mov ecx, esp
mov dword [esp + 0xb8], esp
push eax
call fcn.00558070
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0x12c], 0x12
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x5e5150]
mov byte [esp + 0x120], 0x18
push ecx
push ebx
push eax
lea ecx, [esp + 0xac]
call fcn.004120f0
mov eax, dword [esp + 0x94]
mov byte [esp + 0x120], 0x12
cmp eax, ebx
je 0x4758bb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4758b2
cmp al, 0xff
je 0x4758b2
dec al
mov byte [ecx], al
jmp 0x4758bb
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dl, byte [esp + 0xa0]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xc0], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x5e5150]
lea edx, [esp + 0xb0]
push eax
push ebx
push edx
call fcn.004120f0
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x134], 0x19
call fcn.00402a80
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push eax
call fcn.00558070
mov ecx, dword [0x619a64]
mov byte [esp + 0x134], 0x12
call fcn.00548570
mov eax, dword [esp + 0x14]
inc esi
dec eax
mov dword [esp + 0x14], eax
jne 0x475722
mov ecx, dword [0x619a64]
call fcn.00548950
movsx eax, ax
sub eax, ebx
je 0x4759e4
dec eax
je 0x4759a5
dec eax
jne 0x475493
cmp word [esp + 0x8c], bx
je 0x475985
mov eax, dword [esp + 0x12c]
mov cl, byte [eax + 4]
mov al, byte [esp + 0x47]
sub al, cl
mov byte [esp + 0x47], al
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x47]
cmp cl, al
jbe 0x475995
mov byte [esp + 0x47], al
mov dword [esp + 0x84], 1
jmp 0x475493
cmp word [esp + 0x2c], bx
je 0x475493
mov edx, dword [esp + 0x12c]
mov al, byte [esp + 0x47]
mov dword [esp + 0x84], 1
mov cl, byte [edx + 4]
add al, cl
mov cl, byte [esp + 0x13]
cmp al, cl
mov byte [esp + 0x47], al
jae 0x475493
mov byte [esp + 0x47], cl
jmp 0x475493
mov eax, dword [esp + 0x64]
sub esp, 0x24
mov dword [esp + 0xd4], esp
lea esi, [esp + 0x68]
mov ecx, dword [eax + 4]
mov eax, esp
mov byte [esp + 0x68], 1
push 0xff
mov edx, dword [ecx]
push esi
push eax
call dword [edx + 0xc]
lea ecx, [esp + 0x108]
call fcn.00559e10
lea ecx, [esp + 0x68]
mov byte [esp + 0x120], 0x11
call fcn.005581a0
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
cmp esi, edi
mov byte [esp + 0x120], 0x10
je 0x475a4f
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x475a3d
mov esi, dword [esp + 0x58]
push esi
call fcn.005bc500
mov eax, dword [esp + 0xbc]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
je 0x475be6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x475bdd
cmp al, 0xff
je 0x475bdd
dec al
mov byte [ecx], al
jmp 0x475be6
mov ecx, esi
call fcn.00435960
lea ecx, [esp + 0x68]
mov byte [esp + 0x120], 0x11
call fcn.005581a0
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
cmp esi, edi
mov byte [esp + 0x120], 0x10
je 0x475ad1
push ebx
mov ecx, esi
call fcn.00406c10
add esi, 4
cmp esi, edi
jne 0x475abe
mov esi, dword [esp + 0x58]
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
push 1
mov dword [esp + 0x64], ebx
mov byte [esp + 0x124], 0xf
call fcn.00401850
lea ecx, [esp + 0x40]
mov byte [esp + 0x120], 0xe
call fcn.005581a0
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x124], 0xd
call fcn.00401850
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
cmp esi, eax
mov byte [esp + 0x120], 0xc
mov edi, eax
je 0x475b4c
push ebx
mov ecx, esi
call fcn.00406c10
add esi, 4
cmp esi, edi
jne 0x475b39
mov esi, dword [esp + 0x70]
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xe4]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x120], 9
call fcn.00559d60
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x120], 8
je 0x475b9c
push ebx
mov ecx, esi
call fcn.00406c10
add esi, 4
cmp esi, edi
jne 0x475b89
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
add esp, 4
cmp esi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x120], 7
je 0x475cfd
push ebx
mov ecx, esi
call fcn.00406c10
add esi, 4
cmp esi, edi
jne 0x475bc9
jmp 0x475cf9
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov byte [esp + 0x120], 0xe
call fcn.005581a0
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x475c34
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x475c2b
cmp al, 0xff
je 0x475c2b
dec al
mov byte [ecx], al
jmp 0x475c34
push ecx
call fcn.005bc500
add esp, 4
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
cmp esi, edi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0x120], 0xc
je 0x475c6f
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x475c5d
mov esi, dword [esp + 0x70]
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xe4]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x120], 9
call fcn.00559d60
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x120], 8
mov edi, eax
je 0x475cc0
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x475cae
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
add esp, 4
cmp esi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x120], 7
mov edi, eax
je 0x475cfd
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x475ceb
mov esi, dword [esp + 0x34]
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x120], 6
call fcn.005581a0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x120], 5
call fcn.005581a0
lea ecx, [esp + 0x50]
mov byte [esp + 0x120], 3
call fcn.005581a0
lea ecx, [esp + 0x130]
mov byte [esp + 0x120], 2
call fcn.005581a0
lea ecx, [esp + 0x134]
mov byte [esp + 0x120], 1
call fcn.005581a0
lea ecx, [esp + 0x138]
mov byte [esp + 0x120], bl
call fcn.005581a0
lea ecx, [esp + 0x13c]
mov dword [esp + 0x120], 0xffffffff
call fcn.005581a0
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x114
ret 0x18