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

Disassembly:
sub esp, 0x4b4
push ebx
push ebp
push esi
push edi
mov esi, eax
push 0x24
mov byte [esi + 4], 1
call fcn.005354b8
mov edi, eax
add esp, 4
test edi, edi
je 0x4a979b
mov ecx, edi
call fcn.005423e0
mov dword [edi], 0x70df4c
mov word [edi + 0x20], 0xec
mov byte [edi + 0x22], 0
mov ebx, edi
jmp 0x4a979d
xor ebx, ebx
push 0x28
mov dword [esp + 0x50], ebx
call fcn.005354b8
mov edi, eax
add esp, 4
test edi, edi
mov ebp, 3
je 0x4a97ce
mov ecx, edi
call fcn.005423e0
mov word [edi + 0x20], bp
mov dword [edi + 0x24], ebp
mov dword [edi], 0x70ded4
mov ebp, edi
jmp 0x4a97d0
xor ebp, ebp
push 0x2c
mov dword [esp + 0x48], ebp
call fcn.005354b8
mov edi, eax
add esp, 4
test edi, edi
je 0x4a9803
mov ecx, edi
call fcn.005423e0
xor eax, eax
mov dword [edi], 0x70df10
mov word [edi + 0x20], ax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 1
jmp 0x4a9805
xor edi, edi
xor eax, eax
mov ax, word [ebx + 0x20]
mov byte [ebx + 0x22], 0
mov dword [esp + 0x40], edi
and eax, 0xf2ed
or eax, 0x32ed
mov word [ebx + 0x20], ax
and byte [ebp + 0x20], 0xfc
xor ebp, ebp
mov dword [edi + 0x28], 1
mov dword [edi + 0x24], 2
mov dword [esp + 0x18], ebp
jmp 0x4a9840
mov ebp, dword [esp + 0x18]
nop
xor edi, edi
mov di, word [esi + ebp*2 + 0x343c]
push 0x34
imul edi, edi
mov dword [esp + 0x80], edi
call fcn.005354b8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a9904
movzx eax, word [esi + ebp*2 + 0x343c]
dec eax
imul eax, eax
shl eax, 1
movzx ecx, di
mov dword [ebx + 8], eax
xor eax, eax
shl ecx, 2
push ecx
mov dword [ebx], fcn.0050d950
mov dword [ebx + 0x2c], 1
mov word [ebx + 4], di
mov word [ebx + 0x18], ax
mov word [ebx + 0x1a], ax
mov word [ebx + 0x1e], ax
mov word [ebx + 0x1c], ax
mov dword [ebx + 0x30], eax
call fcn.005354dd
movzx ecx, word [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
or eax, 0xffffffff
mov dword [ebx + 0xc], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
movzx eax, word [ebx + 4]
shl eax, 1
add esp, 4
push eax
call fcn.005354dd
mov ecx, dword [ebx + 8]
shl ecx, 2
add esp, 4
push ecx
mov dword [ebx + 0x10], eax
call fcn.005354dd
mov edx, dword [ebx + 8]
shr edx, 1
shl edx, 1
add esp, 4
push edx
mov dword [ebx + 0x14], eax
call fcn.005354dd
add esp, 4
mov dword [ebx + 0x20], eax
jmp 0x4a9906
xor ebx, ebx
mov dword [esi], ebx
movzx eax, word [esi + ebp*2 + 0x343c]
xor edi, edi
dec eax
test eax, eax
jle 0x4a9984
jmp 0x4a9920
movzx ecx, word [esi + ebp*2 + 0x343c]
xor ebx, ebx
dec ecx
test ecx, ecx
jle 0x4a9976
nop
xor ecx, ecx
mov cx, word [esi + ebp*2 + 0x343c]
push 0
mov eax, ecx
imul eax, edi
add eax, ebx
lea edx, [eax + 1]
mov word [esp + 0x54], ax
add eax, ecx
mov word [esp + 0x58], ax
inc eax
mov word [esp + 0x5a], ax
mov eax, dword [esi]
lea ecx, [esp + 0x54]
mov word [esp + 0x56], dx
call fcn.0050d6d0
movzx eax, word [esi + ebp*2 + 0x343c]
inc ebx
dec eax
cmp ebx, eax
jl 0x4a9930
movzx ecx, word [esi + ebp*2 + 0x343c]
inc edi
dec ecx
cmp edi, ecx
jl 0x4a9920
mov ecx, ebp
mov eax, 1
shl eax, cl
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x58], eax
not eax
mov dword [esp + 0x68], eax
mov eax, 1
shl eax, cl
lea ecx, [esi + 0x3224]
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x78], eax
lea eax, [esp + 0xc0]
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
nop
mov edx, dword [esp + 0x1c]
mov cx, word [esp + 0x68]
mov eax, dword [esp + 0x2c]
and word [eax], cx
mov ecx, dword [esp + 0x78]
mov dword [edx], 0
mov edx, dword [esp + 0x24]
movzx eax, word [edx - 0x200]
test ecx, eax
jne 0x4a9c07
mov dx, word [esp + 0x58]
mov eax, dword [esp + 0x24]
or word [eax], dx
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebp
push edi
call fcn.004aa4d0
lea edx, [esp + 0x30]
push edx
push ebp
push edi
mov edi, ebx
call fcn.004aa720
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esi]
mov eax, dword [ecx]
push 0
push 1
push edx
mov edx, dword [esp + 0x48]
push edx
movzx edx, word [esp + 0x8c]
push ebx
push edx
call dword [eax]
test ebx, ebx
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
je 0x4a9a6f
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ebx, ebx
mov dword [esp + 0x48], ebx
jmp 0x4a9a71
xor ebx, ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4a9a86
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4a9a9b
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], ebx
mov ecx, dword [edi + 0xbc]
push ebx
call fcn.00542de0
mov edx, dword [edi + 0xbc]
mov eax, dword [edx + 0x28]
xor ecx, ecx
cmp word [edx + 0xc], bx
jbe 0x4a9aff
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
mov dword [esp + 0x28], edx
mov ebx, dword [0x71979c]
mov edx, eax
mov dword [edx], ebx
mov ebx, dword [0x7197a0]
mov dword [edx + 4], ebx
mov ebx, dword [0x7197a4]
mov dword [edx + 8], ebx
mov ebx, dword [0x7197a8]
mov dword [edx + 0xc], ebx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0xbc]
movzx edx, word [edx + 0xc]
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x4a9ac2
xor ebx, ebx
fild dword [esp + 0x34]
lea eax, [edi + 0x5c]
mov dword [esp + 0x64], 0
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
fild dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
cmp dword [esp + 0x14], ebx
jne 0x4a9b6b
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
shl edx, 4
add edx, ecx
shl edx, 4
lea eax, [edx + ebp]
mov word [esi + eax*4 + 0xc], bx
mov ecx, dword [edi + 0xbc]
mov dx, word [ecx + 0x40]
shl dx, 1
add dx, word [ecx + 0x3c]
mov dword [esp + 0x14], edi
mov word [esi + eax*4 + 0xe], dx
jmp 0x4a9c07
mov ebx, dword [esp + 0x14]
push 1
push 0
mov ecx, ebx
mov dword [esp + 0x30], ebx
call fcn.00535550
push 1
push 0
mov ecx, edi
call fcn.00535550
mov eax, dword [ebx + 0xbc]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
shl ecx, 4
xor edx, edx
mov dx, word [eax + 0x40]
add ecx, ebx
shl ecx, 4
inc dx
lea ebx, [ecx + ebp]
push edi
shl edx, 1
add dx, word [eax + 0x3c]
mov eax, dword [esp + 0x18]
mov word [esi + ebx*4 + 0xc], dx
call fcn.00502f60
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xbc]
mov cx, word [eax + 0x40]
shl cx, 1
add cx, word [eax + 0x3c]
mov eax, dword [esp + 0x2c]
add cx, word [esi + ebx*4 + 0xc]
add esp, 4
test eax, eax
mov word [esi + ebx*4 + 0xe], cx
je 0x4a9bf1
mov ecx, eax
mov edx, dword [ecx]
push 1
call dword [edx]
test edi, edi
je 0x4a9c07
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
add eax, 0x3e8
add ebx, 2
add edi, 4
inc ebp
cmp eax, 0x3e80
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], eax
jl 0x4a99d0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
inc eax
add edx, 0x3e8
add ebp, 0x22
cmp edx, 0x3e80
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ebp
mov eax, edi
mov ecx, ebx
mov dword [esp + 0x34], edx
jl 0x4a99c1
mov edi, dword [esi]
xor ebp, ebp
cmp edi, ebp
je 0x4a9ccd
mov eax, dword [edi + 0x10]
cmp eax, ebp
mov dword [edi], fcn.0050d950
je 0x4a9c89
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [edi + 0x10], ebp
mov eax, dword [edi + 0xc]
cmp eax, ebp
je 0x4a9c9c
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [edi + 0xc], ebp
mov eax, dword [edi + 0x14]
cmp eax, ebp
je 0x4a9caf
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [edi + 0x14], ebp
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x4a9cc2
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [edi + 0x20], ebp
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi], ebp
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov ebx, dword [esp + 0x18]
mov dword [esi + ebx*4 + 0x4c48], eax
je 0x4aa17d
cmp dword [esi + ebx*4 + 0x4c68], ebp
je 0x4a9ee1
push 0x48
call fcn.005354b8
add esp, 4
cmp eax, ebp
je 0x4a9d0a
mov ecx, eax
call fcn.00544050
mov edi, eax
jmp 0x4a9d0c
xor edi, edi
mov edx, dword [edi + 0x2c]
mov ebp, dword [esi + ebx*4 + 0x4c68]
mov ebx, dword [edx]
test ebx, ebx
jne 0x4a9d7c
push 0x1c
call fcn.005354b8
add esp, 4
test eax, eax
je 0x4a9d35
mov ecx, eax
call fcn.00543e60
mov ebx, eax
jmp 0x4a9d37
xor ebx, ebx
mov eax, dword [edi + 0x30]
test eax, eax
jbe 0x4a9d7c
mov eax, dword [edi + 0x34]
test eax, eax
ja 0x4a9d56
test ebx, ebx
mov dword [edi + 0x34], 1
je 0x4a9d77
mov eax, dword [edi + 0x38]
inc eax
jmp 0x4a9d74
test ebx, ebx
je 0x4a9d68
mov eax, dword [edi + 0x2c]
cmp dword [eax], 0
jne 0x4a9d77
mov eax, dword [edi + 0x38]
inc eax
jmp 0x4a9d74
mov ecx, dword [edi + 0x2c]
cmp dword [ecx], 0
je 0x4a9d77
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x38], eax
mov edx, dword [edi + 0x2c]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
cmp ecx, ebp
je 0x4a9d9c
test ecx, ecx
je 0x4a9d92
dec dword [ecx + 4]
jne 0x4a9d92
mov eax, dword [ecx]
push 1
call dword [eax]
test ebp, ebp
mov dword [ebx + 4], ebp
je 0x4a9d9c
inc dword [ebp + 4]
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
test eax, eax
jne 0x4a9e03
push 0x1c
call fcn.005354b8
add esp, 4
test eax, eax
je 0x4a9dbc
mov ecx, eax
call fcn.00543e60
jmp 0x4a9dbe
xor eax, eax
mov ecx, dword [edi + 0x30]
test ecx, ecx
jbe 0x4a9e03
mov ecx, dword [edi + 0x34]
test ecx, ecx
ja 0x4a9ddd
test eax, eax
mov dword [edi + 0x34], 1
je 0x4a9dfe
mov ecx, dword [edi + 0x38]
inc ecx
jmp 0x4a9dfb
test eax, eax
je 0x4a9def
mov edx, dword [edi + 0x2c]
cmp dword [edx], 0
jne 0x4a9dfe
mov ecx, dword [edi + 0x38]
inc ecx
jmp 0x4a9dfb
mov ecx, dword [edi + 0x2c]
cmp dword [ecx], 0
je 0x4a9dfe
mov ecx, dword [edi + 0x38]
dec ecx
mov dword [edi + 0x38], ecx
mov edx, dword [edi + 0x2c]
mov dword [edx], eax
mov dword [eax + 0xc], 2
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
test eax, eax
jne 0x4a9e71
push 0x1c
call fcn.005354b8
add esp, 4
test eax, eax
je 0x4a9e2a
mov ecx, eax
call fcn.00543e60
jmp 0x4a9e2c
xor eax, eax
mov ecx, dword [edi + 0x30]
test ecx, ecx
jbe 0x4a9e71
mov ecx, dword [edi + 0x34]
test ecx, ecx
ja 0x4a9e4b
test eax, eax
mov dword [edi + 0x34], 1
je 0x4a9e6c
mov ecx, dword [edi + 0x38]
inc ecx
jmp 0x4a9e69
test eax, eax
je 0x4a9e5d
mov ecx, dword [edi + 0x2c]
cmp dword [ecx], 0
jne 0x4a9e6c
mov ecx, dword [edi + 0x38]
inc ecx
jmp 0x4a9e69
mov edx, dword [edi + 0x2c]
cmp dword [edx], 0
je 0x4a9e6c
mov ecx, dword [edi + 0x38]
dec ecx
mov dword [edi + 0x38], ecx
mov ecx, dword [edi + 0x2c]
mov dword [ecx], eax
mov ebx, dword [esp + 0x14]
mov dword [eax + 8], 0
inc dword [edi + 4]
mov edx, dword [ebx + 0xa0]
add ebx, 0xa0
mov ecx, ebx
call dword [edx + 4]
mov ebp, eax
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x4a9eae
test ecx, ecx
je 0x4a9ea8
dec dword [ecx + 4]
jne 0x4a9ea8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp + 8], edi
inc dword [edi + 4]
mov dword [ebp + 4], 0
mov ecx, dword [ebx + 4]
mov dword [ebp], ecx
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a9ec7
mov dword [eax + 4], ebp
jmp 0x4a9eca
mov dword [ebx + 8], ebp
mov ecx, dword [ebx + 0xc]
inc ecx
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], ecx
dec dword [edi + 4]
jne 0x4a9ee1
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
push 0x64
call fcn.005354b8
add esp, 4
test eax, eax
je 0x4a9efa
mov ecx, eax
call fcn.00545e60
mov edi, eax
jmp 0x4a9efc
xor edi, edi
mov edx, dword [edi + 0x5c]
inc edx
mov dword [edi + 0x5c], edx
mov dword [edi + 0x58], 0x3f800000
mov eax, edx
mov edx, dword [0x719780]
mov ebx, dword [esp + 0x14]
lea ecx, [edi + 0x24]
mov dword [ecx], edx
mov edx, dword [0x719784]
mov dword [ecx + 4], edx
mov edx, dword [0x719788]
mov dword [ecx + 8], edx
inc eax
mov dword [edi + 0x5c], eax
mov edx, dword [0x719780]
lea ecx, [edi + 0x30]
mov dword [ecx], edx
mov edx, dword [0x719784]
mov dword [ecx + 4], edx
mov edx, dword [0x719788]
mov dword [ecx + 8], edx
inc eax
mov dword [edi + 0x5c], eax
mov edx, dword [0x729424]
lea ecx, [edi + 0x48]
mov dword [ecx], edx
mov edx, dword [0x729428]
mov dword [ecx + 4], edx
mov edx, dword [0x72942c]
mov dword [ecx + 8], edx
inc eax
mov dword [edi + 0x5c], eax
inc dword [edi + 4]
mov eax, dword [ebx + 0xa0]
add ebx, 0xa0
mov ecx, ebx
call dword [eax + 4]
mov ebp, eax
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x4a9fa5
test ecx, ecx
je 0x4a9f9f
dec dword [ecx + 4]
jne 0x4a9f9f
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [ebp + 8], edi
inc dword [edi + 4]
mov dword [ebp + 4], 0
mov eax, dword [ebx + 4]
mov dword [ebp], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a9fbe
mov dword [eax + 4], ebp
jmp 0x4a9fc1
mov dword [ebx + 8], ebp
mov ecx, dword [ebx + 0xc]
inc ecx
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], ecx
dec dword [edi + 4]
jne 0x4a9fd8
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x84]
push str.LBGridL_d
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
mov ecx, dword [0x8ebffc]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx]
add esp, 0xc
push 1
push eax
call dword [edx + 0x70]
mov ebp, dword [esp + 0x4c]
inc dword [ebp + 4]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov edi, eax
mov ecx, dword [edi + 8]
cmp ecx, ebp
je 0x4aa031
test ecx, ecx
je 0x4aa02b
dec dword [ecx + 4]
jne 0x4aa02b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 8], ebp
inc dword [ebp + 4]
mov dword [edi + 4], 0
mov ecx, dword [ebx + 4]
mov dword [edi], ecx
mov eax, dword [ebx + 4]
test eax, eax
je 0x4aa049
mov dword [eax + 4], edi
jmp 0x4aa04c
mov dword [ebx + 8], edi
mov ecx, dword [ebx + 0xc]
inc ecx
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], ecx
dec dword [ebp + 4]
jne 0x4aa064
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov ebp, dword [esp + 0x44]
inc dword [ebp + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, eax
mov ecx, dword [edi + 8]
cmp ecx, ebp
je 0x4aa090
test ecx, ecx
je 0x4aa08a
dec dword [ecx + 4]
jne 0x4aa08a
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [edi + 8], ebp
inc dword [ebp + 4]
mov dword [edi + 4], 0
mov eax, dword [ebx + 4]
mov dword [edi], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x4aa0a8
mov dword [eax + 4], edi
jmp 0x4aa0ab
mov dword [ebx + 8], edi
mov ecx, dword [ebx + 0xc]
inc ecx
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], ecx
dec dword [ebp + 4]
jne 0x4aa0c3
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov ebp, dword [esp + 0x40]
inc dword [ebp + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, eax
mov ecx, dword [edi + 8]
cmp ecx, ebp
je 0x4aa0ef
test ecx, ecx
je 0x4aa0e9
dec dword [ecx + 4]
jne 0x4aa0e9
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [edi + 8], ebp
inc dword [ebp + 4]
mov dword [edi + 4], 0
mov eax, dword [ebx + 4]
mov dword [edi], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x4aa107
mov dword [eax + 4], edi
jmp 0x4aa10a
mov dword [ebx + 8], edi
mov ecx, dword [ebx + 0xc]
inc ecx
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], ecx
dec dword [ebp + 4]
jne 0x4aa122
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov eax, dword [esi + 0x4c60]
mov ecx, dword [esi + 0x4c64]
mov edi, dword [esp + 0x14]
lea edx, [edi + 0x5c]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x74]
push ecx
mov ecx, edi
mov dword [edx + 8], eax
call fcn.00541bf0
push 1
push 0
mov ecx, edi
call fcn.00535550
mov ecx, edi
call fcn.00535990
mov ecx, edi
call fcn.00535bb0
mov ebx, dword [esp + 0x18]
inc ebx
cmp ebx, 6
mov dword [esp + 0x18], ebx
jl 0x4a983b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4b4
ret